結果

問題 No.369 足し間違い
ユーザー kutsutamakutsutama
提出日時 2018-12-24 03:07:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 739 ms
コンパイル使用メモリ 11,744 KB
実行使用メモリ 11,056 KB
最終ジャッジ日時 2023-10-26 02:56:04
合計ジャッジ時間 975 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,020 KB
testcase_01 AC 29 ms
10,020 KB
testcase_02 AC 30 ms
10,020 KB
testcase_03 AC 30 ms
10,020 KB
testcase_04 AC 33 ms
10,960 KB
testcase_05 AC 31 ms
10,184 KB
testcase_06 AC 32 ms
10,884 KB
testcase_07 AC 34 ms
11,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = [int(x) for x in input().split()]
v = int(input())

res = sum(a) - v
print(res)
0