結果

問題 No.36 素数が嫌い!
ユーザー mmmpppmmmppp
提出日時 2017-02-28 01:54:55
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 70 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 11,516 KB
実行使用メモリ 15,640 KB
最終ジャッジ日時 2023-09-02 13:44:49
合計ジャッジ時間 9,094 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 320 ms
15,444 KB
testcase_01 WA -
testcase_02 AC 90 ms
15,156 KB
testcase_03 AC 92 ms
15,092 KB
testcase_04 WA -
testcase_05 AC 95 ms
15,452 KB
testcase_06 AC 94 ms
15,572 KB
testcase_07 AC 95 ms
15,524 KB
testcase_08 WA -
testcase_09 AC 90 ms
15,328 KB
testcase_10 WA -
testcase_11 AC 412 ms
15,528 KB
testcase_12 AC 1,072 ms
15,304 KB
testcase_13 WA -
testcase_14 AC 95 ms
15,592 KB
testcase_15 WA -
testcase_16 AC 93 ms
15,232 KB
testcase_17 AC 90 ms
15,380 KB
testcase_18 AC 89 ms
15,176 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 261 ms
15,408 KB
testcase_26 AC 435 ms
15,384 KB
testcase_27 AC 110 ms
15,296 KB
testcase_28 AC 424 ms
15,384 KB
testcase_29 AC 99 ms
15,496 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime';puts gets.to_i.prime_division.any?{|a|a[1]>1}?:YES:'NO'
0