結果

問題 No.211 素数サイコロと合成数サイコロ (1)
コンテスト
ユーザー ktrk15
提出日時 2015-05-22 22:36:17
言語 Python2
(2.7.18)
コンパイル:
python2x -m py_compile _filename_
実行:
/usr/bin/python2x Main.pyc
結果
AC  
実行時間 7 ms / 1,000 ms
+ 124µs
コード長 230 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 12 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2026-07-17 15:09:48
合計ジャッジ時間 2,109 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

input = int(raw_input())
sosu = [2,3,5,7,11,13]
gouseisu = [4,6,8,9,10,12]
count = 0
num = []

for s in sosu:
	for g in gouseisu:
		num.append(s*g)

for n in num:
	if n == input:
		count +=1

output = float(count)/36

print output
0