結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2019-09-06 20:39:20 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 1,095 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 82,720 KB |
実行使用メモリ | 88,968 KB |
最終ジャッジ日時 | 2024-06-24 12:20:25 |
合計ジャッジ時間 | 4,719 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 15 |
ソースコード
from bisect import bisect_left, bisect_right; from collections import Counter, defaultdict, deque, OrderedDict; from copy import deepcopy; from fractions import gcd; from functools import lru_cache, reduce; from math import ceil, floor; from sys import stdin, setrecursionlimit import heapq as hq; import itertools as its; import operator as op # globals inf = float('inf') input = stdin.readline def main(): n = get_int() a = get_li() print(sum(a)) return def get_int(): return int(input()) def get_float(): return float(input()) def get_str(): return input().strip() def get_li(): return [int(i) for i in input().split()] def get_lf(): return [float(f) for f in input().split()] def get_lc(): return list(input().strip()) def gets(n, types, sep=None): if len(types) == 1: return [types[0](input().strip()) for _ in range(n)] return list(zip(*( [t(x) for t, x in zip(types, input().strip().split(sep=sep))] for _ in range(n) ))) if __name__ == '__main__': setrecursionlimit(4100000) main()