結果
問題 |
No.2246 1333-like Number
|
ユーザー |
![]() |
提出日時 | 2023-03-17 21:22:58 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 81,872 KB |
実行使用メモリ | 178,592 KB |
最終ジャッジ日時 | 2024-09-18 10:09:52 |
合計ジャッジ時間 | 3,716 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 TLE * 1 -- * 22 |
ソースコード
def generate(K): res=[] for i in range(1,10): for j in range(i+1,10): s=str(i)+str(j)*K res.append(int(s)) return res N=int(input()) K=1 A=[] while(len(A)<=N): A+=generate(K) K+=1 A.sort() print(A[N-1])