結果
| 問題 | No.143 豆 |
| コンテスト | |
| ユーザー |
1up_aloe
|
| 提出日時 | 2017-12-08 10:50:17 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 393 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 20,732 KB |
| 最終ジャッジ日時 | 2026-05-23 12:29:59 |
| 合計ジャッジ時間 | 5,468 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 17 |
ソースコード
info = list(map(int,input().split()))
family = list(map(int,input().split))
num = info[0]*info[1]
if sum(family) > num:
print (-1)
else:
print (num-sum(family))
1up_aloe