結果

問題 No.369 足し間違い
ユーザー ksomemoksomemo
提出日時 2017-09-25 02:27:30
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 10,480 KB
実行使用メモリ 8,852 KB
最終ジャッジ日時 2023-08-09 02:25:16
合計ジャッジ時間 962 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,784 KB
testcase_01 AC 16 ms
7,824 KB
testcase_02 AC 14 ms
7,976 KB
testcase_03 AC 14 ms
7,824 KB
testcase_04 AC 16 ms
8,852 KB
testcase_05 AC 15 ms
7,780 KB
testcase_06 AC 17 ms
8,716 KB
testcase_07 AC 18 ms
8,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    A = map(int, input().split())
    v = int(input())

    print(sum(A) - v)

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