結果

問題 No.369 足し間違い
ユーザー kjnhokjnho
提出日時 2016-05-13 22:23:30
言語 Python2
(2.7.18)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 304 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 6,748 KB
実行使用メモリ 7,092 KB
最終ジャッジ日時 2023-07-28 07:11:55
合計ジャッジ時間 1,047 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
6,596 KB
testcase_01 AC 15 ms
6,460 KB
testcase_02 AC 14 ms
6,596 KB
testcase_03 AC 14 ms
6,464 KB
testcase_04 AC 18 ms
7,000 KB
testcase_05 AC 15 ms
6,552 KB
testcase_06 AC 18 ms
6,880 KB
testcase_07 AC 18 ms
7,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8

from collections import defaultdict as dd
from collections import Counter
from collections import deque
from string import ascii_lowercase

def main():
    N = input()
    A = sum(int(x) for x in raw_input().split())
    v = input()
    print(A-v)

if __name__ == "__main__":
    main()
0