結果
| 問題 |
No.211 素数サイコロと合成数サイコロ (1)
|
| コンテスト | |
| ユーザー |
bellangeldindon
|
| 提出日時 | 2019-05-09 15:17:57 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 1,000 ms |
| コード長 | 189 bytes |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2024-07-02 00:49:20 |
| 合計ジャッジ時間 | 1,644 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
dice1 = [2, 3, 5, 7, 11, 13] dice2 = [4, 6, 8, 9, 10, 12] K = int(raw_input()) cnt = 0 for i in range(0, 6): for j in range(0, 6): if dice1[i]*dice2[j] == K: cnt += 1 print float(cnt)/36
bellangeldindon