結果
| 問題 | No.2562 数字探しゲーム(緑以下コンver.) |
| コンテスト | |
| ユーザー |
oginoshikibu
|
| 提出日時 | 2023-12-02 15:06:40 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| 記録 | |
| コンパイル時間 | 276 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 81,536 KB |
| 最終ジャッジ日時 | 2026-05-14 01:45:05 |
| 合計ジャッジ時間 | 2,805 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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