結果

問題 No.1594 Three Classes
ユーザー machoniumpmachoniump
提出日時 2021-07-23 19:56:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 1,011 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 10,968 KB
実行使用メモリ 10,488 KB
最終ジャッジ日時 2023-09-25 19:04:11
合計ジャッジ時間 2,449 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 34 ms
10,484 KB
testcase_03 AC 34 ms
10,436 KB
testcase_04 AC 34 ms
10,456 KB
testcase_05 WA -
testcase_06 AC 34 ms
10,316 KB
testcase_07 AC 34 ms
10,440 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 34 ms
10,308 KB
testcase_14 AC 33 ms
10,360 KB
testcase_15 AC 34 ms
10,444 KB
testcase_16 AC 34 ms
10,380 KB
testcase_17 AC 33 ms
10,380 KB
testcase_18 AC 34 ms
10,376 KB
testcase_19 AC 34 ms
10,384 KB
testcase_20 AC 34 ms
10,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, defaultdict,Counter
from copy import deepcopy
from bisect import bisect_left, bisect_right, insort_left, insort_right
from heapq import heapify, heappop, heappush
from itertools import product, permutations, combinations, combinations_with_replacement,accumulate
from functools import reduce
from math import gcd, sin, cos, tan, asin, acos, atan, degrees, radians, ceil, floor, log, sqrt, ceil, floor, pi, hypot
from string import ascii_lowercase
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
sys.setrecursionlimit(1000000)
INF = 10**12
MOD = 10**9+7
# MOD = 998244353
yes="Yes"
no="No"
#|
from random import randint
def II():return int(input())
def SI():return str(input())
def MI():return map(int,input().split())
def MS():return map(str,input().split())
def LI():return list(map(int,input().split()))
def SLI():return sorted(list(map(int,input().split())))
def LS():return list(map(str,input().split()))
n=II()
print("Yes" if sum(LI())%3==0 else "No")
0