結果

問題 No.369 足し間違い
ユーザー MintMint
提出日時 2016-05-17 20:00:21
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 9,292 KB
最終ジャッジ日時 2023-07-28 14:18:41
合計ジャッジ時間 896 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 AC 16 ms
8,016 KB
testcase_02 AC 15 ms
7,872 KB
testcase_03 AC 15 ms
8,024 KB
testcase_04 AC 20 ms
9,292 KB
testcase_05 AC 16 ms
7,888 KB
testcase_06 AC 20 ms
9,176 KB
testcase_07 AC 21 ms
9,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n = int(input())
l = list(map(int, input().split()))
v = int(input())

for i in l:
	v = v - int(i)

print (0 - v)
0