結果
| 問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
| コンテスト | |
| ユーザー |
oginoshikibu
|
| 提出日時 | 2023-12-02 15:06:40 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| コンパイル時間 | 366 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 76,672 KB |
| 最終ジャッジ日時 | 2024-11-19 21:29:37 |
| 合計ジャッジ時間 | 2,863 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 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**10)
tmp+=m-tmp%m
assert tmp%m==0
print(tmp)
oginoshikibu