結果
問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
ユーザー |
![]() |
提出日時 | 2023-12-02 17:29:48 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 281 bytes |
コンパイル時間 | 226 ms |
コンパイル使用メモリ | 82,196 KB |
実行使用メモリ | 77,992 KB |
最終ジャッジ日時 | 2024-11-19 21:36:43 |
合計ジャッジ時間 | 3,091 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 1 WA * 9 |
ソースコード
t = int(input()) for case in range(t): m = int(input()) d = list(map(int,input().split())) ans = 0 for i in range(9): for j in range(d[i]): ans += i+1 ans *= 10 print(ans * 10**9 + (m - (ans * 10**9) % m))