結果
問題 | No.8100 始業式 |
ユーザー |
![]() |
提出日時 | 2023-12-22 16:47:08 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 633 bytes |
コンパイル時間 | 315 ms |
コンパイル使用メモリ | 82,816 KB |
実行使用メモリ | 78,592 KB |
最終ジャッジ日時 | 2024-09-27 11:24:50 |
合計ジャッジ時間 | 1,073 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
from heapq import heappush, heappop, heapifyimport sysfrom collections import defaultdict, dequefrom math import ceil, floor, sqrt, factorial, gcdfrom itertools import permutations, combinations, chainfrom bisect import bisect_left, bisect_rightsys.setrecursionlimit(10**7)# input = sys.stdin.readlinevector1 = [[-1, 0], [1, 0], [0, 1], [0, -1]]vector2 = [[0, 1], [1, 0], [-1, 0], [0, -1],[1.-1], [-1, 1], [1, 1], [-1, 1]]def main():T = int(input())for _ in range(T):N = int(input())f = list(map(int, input().split()))print(sum(f))if __name__ == '__main__':main()