結果

問題 No.1003 サイコロの実装 (1)
ユーザー HagianHagian
提出日時 2021-06-18 19:11:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 220 bytes
コンパイル時間 1,017 ms
コンパイル使用メモリ 10,456 KB
実行使用メモリ 12,220 KB
最終ジャッジ日時 2023-09-04 19:31:33
合計ジャッジ時間 2,373 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 15 ms
7,808 KB
testcase_02 AC 22 ms
12,180 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 15 ms
7,728 KB
testcase_08 WA -
testcase_09 AC 21 ms
12,156 KB
testcase_10 AC 22 ms
12,152 KB
testcase_11 AC 22 ms
12,192 KB
testcase_12 WA -
testcase_13 AC 22 ms
12,108 KB
testcase_14 AC 22 ms
12,060 KB
testcase_15 WA -
testcase_16 AC 20 ms
11,128 KB
testcase_17 AC 21 ms
12,004 KB
testcase_18 AC 20 ms
11,360 KB
testcase_19 WA -
testcase_20 AC 17 ms
9,140 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 21 ms
11,888 KB
testcase_25 AC 19 ms
11,216 KB
testcase_26 AC 22 ms
12,196 KB
testcase_27 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
t = set(range(0,N))
c = 0
for i in t:
    if i % 6 != 0:
        pass
    elif i % 6 == 0 and i == 0:
        pass
    else:
        c = -1
        break
if c == 0:
    print("Yes")
else:
    print("No")
0