結果

問題 No.1003 サイコロの実装 (1)
ユーザー tomoyaatcodertomoyaatcoder
提出日時 2020-07-26 03:09:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 708 ms
コンパイル使用メモリ 87,276 KB
実行使用メモリ 76,056 KB
最終ジャッジ日時 2023-09-10 03:03:48
合計ジャッジ時間 4,778 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,356 KB
testcase_01 AC 75 ms
71,476 KB
testcase_02 AC 79 ms
75,940 KB
testcase_03 AC 73 ms
71,372 KB
testcase_04 AC 72 ms
71,192 KB
testcase_05 AC 71 ms
71,248 KB
testcase_06 AC 72 ms
71,400 KB
testcase_07 AC 76 ms
71,192 KB
testcase_08 AC 73 ms
71,476 KB
testcase_09 AC 75 ms
75,840 KB
testcase_10 AC 74 ms
75,796 KB
testcase_11 AC 74 ms
75,640 KB
testcase_12 AC 76 ms
76,024 KB
testcase_13 AC 75 ms
75,996 KB
testcase_14 AC 76 ms
75,744 KB
testcase_15 AC 75 ms
75,832 KB
testcase_16 AC 75 ms
75,828 KB
testcase_17 AC 76 ms
75,808 KB
testcase_18 AC 75 ms
75,740 KB
testcase_19 AC 76 ms
76,056 KB
testcase_20 AC 74 ms
75,880 KB
testcase_21 AC 77 ms
75,876 KB
testcase_22 AC 78 ms
75,720 KB
testcase_23 AC 76 ms
75,960 KB
testcase_24 AC 78 ms
75,740 KB
testcase_25 AC 75 ms
75,740 KB
testcase_26 AC 75 ms
75,776 KB
testcase_27 AC 72 ms
71,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
cnt = [0 for i in range(6)]
for i in range(n):
    cnt[i % 6] += 1
if len(set(cnt)) == 1:
    print("Yes")
else:
    print("No")
0