結果
| 問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
| コンテスト | |
| ユーザー |
oginoshikibu
|
| 提出日時 | 2023-12-02 15:07:37 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 252 bytes |
| コンパイル時間 | 179 ms |
| コンパイル使用メモリ | 82,976 KB |
| 実行使用メモリ | 76,768 KB |
| 最終ジャッジ日時 | 2024-11-19 21:29:39 |
| 合計ジャッジ時間 | 2,751 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 9 RE * 1 |
ソースコード
for _ in range(int(input())):
m=int(input())
D=list(map(int, input().split()))
tmp=""
for i,d in enumerate(D,1):
if d==0:continue
tmp+=str(i)*d
tmp=int(tmp)*(10**9)
tmp+=m-tmp%m
assert tmp%m==0
print(tmp)
oginoshikibu