結果
| 問題 | No.3678 しゃべりすぎた男 |
| コンテスト | |
| ユーザー |
Tuchmos
|
| 提出日時 | 2026-09-05 13:07:39 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 61 ms / 2,000 ms |
| + 628µs | |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 237 ms |
| コンパイル使用メモリ | 96,068 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-09-05 13:08:25 |
| 合計ジャッジ時間 | 3,823 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 33 |
ソースコード
T=list(map(int,input().split()))
sm=0
f=False
for i in range(7):
if f:
print(-1)
continue
if T[i]==-1:
print(-1)
f=True
continue
sm+=T[i]
print(6000-sm if sm<=6000 else -1)
Tuchmos