結果

問題 No.2246 1333-like Number
ユーザー yabityabit
提出日時 2023-07-07 14:25:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 71,780 KB
最終ジャッジ日時 2023-09-28 14:55:04
合計ジャッジ時間 4,478 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,380 KB
testcase_01 AC 74 ms
71,476 KB
testcase_02 AC 74 ms
71,120 KB
testcase_03 AC 75 ms
71,352 KB
testcase_04 AC 78 ms
71,596 KB
testcase_05 AC 76 ms
71,624 KB
testcase_06 AC 76 ms
71,464 KB
testcase_07 AC 76 ms
71,616 KB
testcase_08 AC 75 ms
71,292 KB
testcase_09 AC 75 ms
71,300 KB
testcase_10 AC 75 ms
71,172 KB
testcase_11 AC 74 ms
71,456 KB
testcase_12 AC 74 ms
71,396 KB
testcase_13 AC 73 ms
71,120 KB
testcase_14 AC 76 ms
71,252 KB
testcase_15 AC 73 ms
71,392 KB
testcase_16 AC 74 ms
71,440 KB
testcase_17 AC 75 ms
71,652 KB
testcase_18 AC 73 ms
71,392 KB
testcase_19 AC 73 ms
71,172 KB
testcase_20 AC 74 ms
71,556 KB
testcase_21 AC 74 ms
71,592 KB
testcase_22 AC 75 ms
71,596 KB
testcase_23 AC 76 ms
71,780 KB
testcase_24 AC 75 ms
71,536 KB
testcase_25 AC 75 ms
71,116 KB
testcase_26 AC 77 ms
71,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
N -= 1
loop = []
for i in range(1, 10):
    for j in range(i+1, 10):
        loop.append([str(i), str(j)])
select = N % len(loop)
mul = N // len(loop)
print(''.join(loop[select][0] + loop[select][1]*(mul+1)))
0