結果

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

ソースコード

diff #

K, N, F = map(int, input().split())
s = 0
a = list(map(int, input().split()))
res = (K * N) - sum(a)
print( res if res > 0 else -1)
0