結果

問題 No.1256 連続整数列
ユーザー uni_pythonuni_python
提出日時 2020-10-18 15:41:25
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 470 ms
コンパイル使用メモリ 87,240 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-09-28 11:27:51
合計ジャッジ時間 3,868 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 71 ms
71,024 KB
testcase_05 WA -
testcase_06 AC 75 ms
71,468 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 72 ms
71,512 KB
testcase_10 AC 73 ms
71,276 KB
testcase_11 AC 73 ms
71,156 KB
testcase_12 AC 73 ms
71,324 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 72 ms
71,244 KB
testcase_16 WA -
testcase_17 AC 72 ms
71,180 KB
testcase_18 WA -
testcase_19 AC 73 ms
71,360 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 73 ms
71,248 KB
testcase_23 AC 72 ms
71,276 KB
testcase_24 WA -
testcase_25 AC 73 ms
71,280 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=I()
    if A%3==0:
        print("YES")
    else:
        print("NO")


main()
0