結果
問題 |
No.143 豆
|
ユーザー |
|
提出日時 | 2017-06-02 03:36:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 91 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-21 21:44:40 |
合計ジャッジ時間 | 1,438 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 WA * 4 |
ソースコード
A, B, C = map(int, input().split()) S = list(map(int, input().split())) sum_all = 0 for x in S: sum_all += x amari = A * B - sum_all if amari: print(amari) else: print(-1)