結果
| 問題 | No.211 素数サイコロと合成数サイコロ (1) |
| コンテスト | |
| ユーザー |
ymgckyo
|
| 提出日時 | 2017-11-04 04:23:12 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 1,000 ms |
| コード長 | 164 bytes |
| 記録 | |
| コンパイル時間 | 352 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-12 11:15:42 |
| 合計ジャッジ時間 | 4,345 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
n = int(input()) ls_1 = [2, 3, 5, 7, 11, 13] ls_2 = [4, 6, 8, 9, 10, 12] res = [(e_1, e_2) for e_1 in ls_1 for e_2 in ls_2 if e_1 * e_2 == n] print(len(res) / 36)
ymgckyo