結果

問題 No.143 豆
ユーザー splash9494
提出日時 2020-05-03 02:10:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 82,540 KB
実行使用メモリ 53,636 KB
最終ジャッジ日時 2025-01-02 11:46:18
合計ジャッジ時間 1,938 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

K, N, F = map(int, input().split())
a = list(map(int, input().split()))

print((K * N) - sum(a) if (K * N) - sum(a) > 0 else -1)
0