結果

問題 No.1119 Division 3
ユーザー tcltktcltk
提出日時 2021-11-20 02:01:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 216 ms / 1,000 ms
コード長 472 bytes
コンパイル時間 832 ms
コンパイル使用メモリ 86,872 KB
実行使用メモリ 89,452 KB
最終ジャッジ日時 2023-08-30 15:22:43
合計ジャッジ時間 6,340 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 210 ms
89,444 KB
testcase_01 AC 215 ms
89,240 KB
testcase_02 AC 213 ms
89,432 KB
testcase_03 AC 210 ms
89,368 KB
testcase_04 AC 212 ms
89,452 KB
testcase_05 AC 208 ms
89,060 KB
testcase_06 AC 212 ms
89,432 KB
testcase_07 AC 216 ms
89,252 KB
testcase_08 AC 214 ms
89,352 KB
testcase_09 AC 216 ms
89,128 KB
testcase_10 AC 212 ms
89,320 KB
testcase_11 AC 214 ms
89,320 KB
testcase_12 AC 209 ms
89,372 KB
testcase_13 AC 211 ms
89,132 KB
testcase_14 AC 208 ms
89,272 KB
testcase_15 AC 212 ms
89,272 KB
testcase_16 AC 216 ms
89,232 KB
testcase_17 AC 214 ms
89,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *

import sys
import io
import math
import collections
import decimal
import itertools
import bisect
import heapq


def input():
    return sys.stdin.readline()[:-1]


# sys.setrecursionlimit(1000000)

# _INPUT = """# paste here...
# """
# sys.stdin = io.StringIO(_INPUT)

INF = 10**10

YES = 'Yes'
NO = 'No'


X, Y, Z = map(int, input().split())
if X % 3 == 0 or Y % 3 == 0 or Z % 3 == 0:
    print('Yes')
else:
    print('No')
0