結果
問題 |
No.2246 1333-like Number
|
ユーザー |
![]() |
提出日時 | 2023-03-17 21:34:53 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 215 bytes |
コンパイル時間 | 229 ms |
コンパイル使用メモリ | 82,120 KB |
実行使用メモリ | 88,788 KB |
最終ジャッジ日時 | 2024-09-18 10:22:17 |
合計ジャッジ時間 | 4,015 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 TLE * 1 -- * 22 |
ソースコード
from collections import deque n = int(input()) q = deque([i for i in range(10, 100) if int(str(i)[0]) < int(str(i)[1])]) for _ in range(n): x = q.popleft() y = x*10+int(str(x)[-1]) q.append(y) print(x)