結果

問題 No.143 豆
ユーザー splash9494
提出日時 2020-05-03 02:26:56
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-01-02 12:34:39
合計ジャッジ時間 1,846 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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()))
res = (K * N) - sum(a)
print( res if res > 0 else -1)
0