結果

問題 No.211 素数サイコロと合成数サイコロ (1)
ユーザー tailstails
提出日時 2015-05-22 22:24:25
言語 Perl
(5.38.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 113 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,808 KB
最終ジャッジ日時 2023-09-20 09:17:28
合計ジャッジ時間 1,517 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,508 KB
testcase_01 AC 3 ms
4,552 KB
testcase_02 AC 3 ms
4,544 KB
testcase_03 AC 3 ms
4,752 KB
testcase_04 AC 3 ms
4,588 KB
testcase_05 AC 2 ms
4,564 KB
testcase_06 AC 2 ms
4,544 KB
testcase_07 AC 2 ms
4,548 KB
testcase_08 AC 3 ms
4,680 KB
testcase_09 AC 3 ms
4,436 KB
testcase_10 AC 2 ms
4,436 KB
testcase_11 AC 3 ms
4,544 KB
testcase_12 AC 2 ms
4,544 KB
testcase_13 AC 2 ms
4,536 KB
testcase_14 AC 3 ms
4,520 KB
testcase_15 AC 3 ms
4,516 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 2 ms
4,540 KB
testcase_23 AC 2 ms
4,468 KB
testcase_24 AC 2 ms
4,548 KB
testcase_25 AC 2 ms
4,620 KB
testcase_26 AC 3 ms
4,512 KB
testcase_27 AC 3 ms
4,552 KB
testcase_28 AC 3 ms
4,572 KB
testcase_29 AC 3 ms
4,556 KB
testcase_30 AC 2 ms
4,436 KB
testcase_31 AC 2 ms
4,512 KB
testcase_32 AC 2 ms
4,508 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$a[$_]=1 for 4,6,8,9,10,12;
$k=<>;
for(2,3,5,6,11,13){
    if($k%$_==0 && $a[$k/$_]){
	++$c;
    }
}
print $c/36;
0