結果

問題 No.1119 Division 3
ユーザー uni_pythonuni_python
提出日時 2020-07-31 22:55:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 299 bytes
コンパイル時間 695 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 71,380 KB
最終ジャッジ日時 2023-09-21 01:39:27
合計ジャッジ時間 3,590 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,264 KB
testcase_01 AC 74 ms
71,360 KB
testcase_02 AC 72 ms
71,232 KB
testcase_03 AC 73 ms
71,352 KB
testcase_04 AC 72 ms
71,004 KB
testcase_05 AC 73 ms
71,008 KB
testcase_06 AC 74 ms
71,160 KB
testcase_07 AC 73 ms
71,220 KB
testcase_08 AC 74 ms
71,124 KB
testcase_09 AC 75 ms
71,136 KB
testcase_10 AC 75 ms
71,380 KB
testcase_11 AC 76 ms
70,988 KB
testcase_12 AC 73 ms
71,024 KB
testcase_13 AC 75 ms
71,160 KB
testcase_14 AC 75 ms
71,132 KB
testcase_15 AC 75 ms
71,264 KB
testcase_16 AC 75 ms
71,132 KB
testcase_17 AC 75 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c=MI()
    
    if (a%3) and (b%3) and (c%3):
        print("No")
    else:
        print("Yes")


main()
0