結果
問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
ユーザー |
|
提出日時 | 2023-12-02 17:24:18 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 280 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 65,152 KB |
最終ジャッジ日時 | 2024-11-19 21:36:16 |
合計ジャッジ時間 | 3,232 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 10 |
ソースコード
import math T = int(input()) for i in range(T): n = int(input()) D = list(map(int, input().split())) ans = [] for i in range(9): for j in range(D[i]): ans.append(str(i + 1)) for i in range(9): ans.append(str(0)) print(math.ceil(int("".join(ans)), n) * n)