#33404: 暴力解


lingpingkun2007@gmail.com (計概好慢所以來練題)


複雜度O(n)

用多個巢狀迴圈紀錄每個位數和算後面哪個數字的generator是這個數

再把selfnumber輸出