結果
| 問題 | No.3297 Bake Cookies |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-05 15:17:19 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 310 bytes |
| 記録 | |
| コンパイル時間 | 141 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-10-17 02:24:59 |
| 合計ジャッジ時間 | 7,218 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 1 -- * 28 |
ソースコード
from time import time
s = time()
n,m,t = map(int,input().split())
a = list(map(int,input().split()))
l = [0]*n
for i in range(m):
l[a[i]-1] += 1
while s - time() < 1.9:
if max(l) - min(l) > t:
l[l.index(max(l))] -= 1
l[l.index(min(l))] += t
else:
break
print(max(l))