結果
| 問題 | No.3678 しゃべりすぎた男 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-08 14:38:35 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 965µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 81,352 KB |
| 実行使用メモリ | 55,916 KB |
| 最終ジャッジ日時 | 2026-09-08 14:39:06 |
| 合計ジャッジ時間 | 2,927 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 33 |
ソースコード
T = list(map(int, input().split()))
ans = []
ng = False
S = 0
for t in T:
if t == -1: ng = True
if ng:ans.append(-1)
else: S+=t;ans.append(max(-1, 6000-S))
for a in ans:print(a)