結果

問題 No.1337 Fair Otoshidama
ユーザー U SU S
提出日時 2021-01-15 22:09:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 423 bytes
コンパイル時間 428 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 73,340 KB
最終ジャッジ日時 2023-08-17 17:19:17
合計ジャッジ時間 4,506 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
72,952 KB
testcase_01 AC 105 ms
72,984 KB
testcase_02 AC 106 ms
73,092 KB
testcase_03 AC 104 ms
73,188 KB
testcase_04 AC 104 ms
73,040 KB
testcase_05 AC 105 ms
72,952 KB
testcase_06 AC 106 ms
72,796 KB
testcase_07 AC 104 ms
72,928 KB
testcase_08 AC 105 ms
73,140 KB
testcase_09 AC 105 ms
72,952 KB
testcase_10 AC 107 ms
73,340 KB
testcase_11 AC 106 ms
72,976 KB
testcase_12 AC 103 ms
73,216 KB
testcase_13 AC 105 ms
73,048 KB
testcase_14 AC 106 ms
73,184 KB
testcase_15 AC 105 ms
72,976 KB
testcase_16 AC 106 ms
72,920 KB
testcase_17 AC 103 ms
72,920 KB
testcase_18 AC 106 ms
73,068 KB
testcase_19 AC 104 ms
72,884 KB
testcase_20 AC 102 ms
73,152 KB
testcase_21 AC 105 ms
72,944 KB
testcase_22 AC 107 ms
73,192 KB
testcase_23 AC 104 ms
73,140 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1

x,y,z = mp()
su = x+y+z
if su % 3 != 0:
    print("No")
else:
    print("Yes")

0