結果

問題 No.1003 サイコロの実装 (1)
ユーザー tomoyaatcoder
提出日時 2020-07-26 03:09:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 228 ms
コンパイル使用メモリ 82,036 KB
実行使用メモリ 59,220 KB
最終ジャッジ日時 2024-06-27 19:01:43
合計ジャッジ時間 2,405 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

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