結果

問題 No.1462 最弱WEAKER
ユーザー mono_0812mono_0812
提出日時 2021-04-02 22:23:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 479 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-08-25 12:34:07
合計ジャッジ時間 1,359 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,940 KB
testcase_01 AC 17 ms
7,920 KB
testcase_02 AC 15 ms
7,752 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 14 ms
7,932 KB
testcase_06 AC 15 ms
7,928 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 15 ms
7,844 KB
testcase_11 AC 16 ms
7,792 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 16 ms
7,804 KB
testcase_16 AC 15 ms
7,844 KB
testcase_17 WA -
testcase_18 AC 15 ms
7,876 KB
testcase_19 WA -
testcase_20 AC 16 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def I(): return input()
def IS(): return input().split()
def II(): return int(input())
def IIS(): return map(int, input().split())
def LIIS(): return list(map(int, input().split()))
def ZER(N): return [False for _ in range(N)]


INF = 10**30
MOD = 10**9+7


#         V
#    / ̄ψ ̄\
#   | 合格祈願 |
#   |_____|


##############################################################################

n=II()
if n%3==1 or n==2:
    print("YES")
else:
    print("NO")
0