結果

問題 No.211 素数サイコロと合成数サイコロ (1)
ユーザー na-sh
提出日時 2019-07-10 12:57:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-15 00:53:47
合計ジャッジ時間 1,908 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

K = int(input())
P = [2, 3, 5, 7, 11, 15]
C = [4, 6, 8, 9, 10, 12]

cnt = 0
for p in P:
    for c in C:
        if p * c == K:
            cnt += 1
print(cnt / 36)
0