結果
問題 |
No.2246 1333-like Number
|
ユーザー |
|
提出日時 | 2023-03-18 18:20:14 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 82,496 KB |
実行使用メモリ | 53,792 KB |
最終ジャッジ日時 | 2024-09-18 13:27:35 |
合計ジャッジ時間 | 2,100 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 WA * 1 |
ソースコード
N = int(input()) L = [] for i in range(12,100): s = str(i) if int(s[0]) < int(s[1]): L.append(i) le = len(L) y = N//le if N % le == 0: print(str(L[-1])+str(L[-1])*(y-1)) else: x = L[N%le-1] print(str(x)+str(x%10)*y)