結果
問題 | No.2246 1333-like Number |
ユーザー |
|
提出日時 | 2023-07-07 14:25:58 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 193 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 53,376 KB |
最終ジャッジ日時 | 2024-07-21 09:37:04 |
合計ジャッジ時間 | 2,059 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
N = int(input())N -= 1loop = []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)))