結果
| 問題 |
No.369 足し間違い
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-02 13:31:59 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 2,000 ms |
| コード長 | 436 bytes |
| コンパイル時間 | 393 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 8,064 KB |
| 最終ジャッジ日時 | 2024-10-08 05:26:30 |
| 合計ジャッジ時間 | 1,585 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
from Queue import * # Queue, LifoQueue, PriorityQueue
from bisect import * #bisect, insort
from collections import * #deque, Counter,OrderedDict,defaultdict
#set([])
import math
import copy
import itertools
import string
import sys
myread = lambda : map(int,raw_input().split())
def solver():
N = int(raw_input())
nums = myread()
v = int(raw_input())
print sum(nums) - v
if __name__ == "__main__":
solver()