結果
問題 | No.2246 1333-like Number |
ユーザー |
|
提出日時 | 2023-03-17 22:19:10 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 273 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-18 11:25:07 |
合計ジャッジ時間 | 3,265 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 1 RE * 21 |
ソースコード
n = int(input()) ans = [[i,j] for i in range(1,9) for j in range(2,10) if i < j] syou = n//36 amari = n%36 a=0 for i in range(syou+1): a = a*10+1 print(10**(syou+1)*ans[amari-1][0] + a*ans[amari-1][1])