結果
| 問題 |
No.211 素数サイコロと合成数サイコロ (1)
|
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-03-29 21:25:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 1,000 ms |
| コード長 | 210 bytes |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2025-01-02 15:48:36 |
| 合計ジャッジ時間 | 2,614 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
P=[2,3,5,7,11,13]
C=[4,6,8,9,10,12]
import collections
D=collections.defaultdict(int)
for p in P:
for c in C:
D[p*c]+=1
k=int(input())
print(D[k]/36)
takakin