結果
問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
ユーザー |
![]() |
提出日時 | 2024-12-04 23:14:37 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 452 ms |
コンパイル使用メモリ | 82,180 KB |
実行使用メモリ | 76,588 KB |
最終ジャッジ日時 | 2024-12-04 23:14:42 |
合計ジャッジ時間 | 3,108 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 WA * 1 |
ソースコード
T = int(input()) ans = [] for _ in range(T): M = int(input()) D = list(map(int, input().split())) s = '' for i in range(len(D)): s += str(i+1)*D[i] s += '9'*9 s = int(s) ans.append(s - s%M) print(*ans, sep='\n')