結果
| 問題 | No.3654 Cup Ramen |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-30 13:45:50 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| + 559µs | |
| コード長 | 136 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,596 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-08-30 13:46:12 |
| 合計ジャッジ時間 | 3,029 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
n, x = map(lambda s_: int(s_), input().split()) a = tuple(map(lambda s_: int(s_), input().split())) ans = max(sum(a) - x, 0) print(ans)