結果

問題 No.1256 連続整数列
ユーザー uni_python
提出日時 2020-10-18 15:41:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 185 ms
コンパイル使用メモリ 82,452 KB
実行使用メモリ 53,904 KB
最終ジャッジ日時 2024-07-21 06:10:08
合計ジャッジ時間 2,293 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 14
権限があれば一括ダウンロードができます

ソースコード

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