結果
| 問題 |
No.211 素数サイコロと合成数サイコロ (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-26 23:10:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 1,000 ms |
| コード長 | 195 bytes |
| コンパイル時間 | 380 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-23 21:03:37 |
| 合計ジャッジ時間 | 2,213 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
from operator import mul N = int(input()) a = [2,3,5,7,11,13] b = [4,6,8,9,10,12] m = [[0]*6]*6 c = 0 for i in range(6): m[i] = list(map(mul,a,[b[i]]*6)) for i in m: c += i.count(N) print(c/36)