結果
| 問題 |
No.2562 数字探しゲーム(緑以下コンver.)
|
| コンテスト | |
| ユーザー |
rotti_coder
|
| 提出日時 | 2023-11-21 01:29:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 430 bytes |
| コンパイル時間 | 149 ms |
| コンパイル使用メモリ | 81,976 KB |
| 実行使用メモリ | 135,512 KB |
| 最終ジャッジ日時 | 2024-11-19 21:27:23 |
| 合計ジャッジ時間 | 34,945 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 |
| other | AC * 1 TLE * 9 |
ソースコード
for i in range(int(input())):
a=int(input())
s=list(map(int,input().split()))
count=0
for ipp in range(100000000000000):
count+=a
hako=sorted(list(str(count)))
amount=[0]*9
for k in range(len(hako)):
if hako[k]=="0":
continue
amount[int(hako[k])-1]+=1
check=0
for k in range(9):
if amount[k]<s[k]:
check=1
break
if check==0:
break
print(count)
rotti_coder