結果
問題 |
No.2246 1333-like Number
|
ユーザー |
|
提出日時 | 2023-03-17 21:37:34 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 207 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 81,792 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-09-18 10:25:10 |
合計ジャッジ時間 | 2,302 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 2 |
ソースコード
N = int(input()) s = N //36 #print(s) t = N%36 #print(t) count = 0 for i in range(1,9): if count + 9-i < t: count += 9-i else: a = i b = t-count+i break print(str(a)+str(b)*(s+1))