結果

問題 No.36 素数が嫌い!
ユーザー hogeover30hogeover30
提出日時 2017-01-28 01:57:37
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 75 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 11,452 KB
実行使用メモリ 15,580 KB
最終ジャッジ日時 2023-08-25 12:34:45
合計ジャッジ時間 7,586 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 276 ms
15,556 KB
testcase_01 AC 89 ms
15,312 KB
testcase_02 AC 75 ms
15,220 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 76 ms
15,308 KB
testcase_08 AC 74 ms
15,304 KB
testcase_09 AC 77 ms
15,236 KB
testcase_10 AC 75 ms
15,172 KB
testcase_11 AC 351 ms
15,572 KB
testcase_12 AC 923 ms
15,352 KB
testcase_13 WA -
testcase_14 AC 79 ms
15,348 KB
testcase_15 AC 77 ms
15,156 KB
testcase_16 AC 73 ms
15,356 KB
testcase_17 AC 73 ms
15,216 KB
testcase_18 AC 74 ms
15,204 KB
testcase_19 AC 108 ms
15,440 KB
testcase_20 AC 103 ms
15,416 KB
testcase_21 AC 189 ms
15,552 KB
testcase_22 AC 88 ms
15,368 KB
testcase_23 AC 79 ms
15,552 KB
testcase_24 AC 194 ms
15,436 KB
testcase_25 AC 218 ms
15,408 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime'
puts (gets.to_i.prime_division.flatten-[1]).size>1?:YES: :NO
0