結果
問題 |
No.143 豆
|
ユーザー |
![]() |
提出日時 | 2020-05-03 02:06:47 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 171 bytes |
コンパイル時間 | 1,144 ms |
コンパイル使用メモリ | 82,596 KB |
実行使用メモリ | 54,112 KB |
最終ジャッジ日時 | 2025-01-02 11:34:19 |
合計ジャッジ時間 | 2,928 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 WA * 1 |
ソースコード
import sys input = sys.stdin.buffer.readline K, N, F = map(int, input().split()) a = list(map(int, input().split())) res = (K * N) - sum(a) print(res if res > 0 else -1)