結果
問題 | No.369 足し間違い |
ユーザー |
|
提出日時 | 2017-10-15 16:13:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 201 bytes |
コンパイル時間 | 72 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,520 KB |
最終ジャッジ日時 | 2024-11-17 17:46:19 |
合計ジャッジ時間 | 683 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
def main(): num = int(input()) elements = [int(i) for i in input().split()] yuki_ans = int(input()) ans = sum(elements) print(ans - yuki_ans) if __name__ == '__main__': main()