結果

問題 No.2379 Burnside's Theorem
ユーザー simansiman
提出日時 2023-07-15 09:31:03
言語 Ruby
(3.3.0)
結果
AC  
実行時間 188 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 409 ms
コンパイル使用メモリ 11,472 KB
実行使用メモリ 15,532 KB
最終ジャッジ日時 2023-10-15 00:12:28
合計ジャッジ時間 4,815 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
15,308 KB
testcase_01 AC 95 ms
15,332 KB
testcase_02 AC 95 ms
15,200 KB
testcase_03 AC 94 ms
15,192 KB
testcase_04 AC 97 ms
15,392 KB
testcase_05 AC 95 ms
15,220 KB
testcase_06 AC 94 ms
15,140 KB
testcase_07 AC 95 ms
15,104 KB
testcase_08 AC 98 ms
15,432 KB
testcase_09 AC 95 ms
15,360 KB
testcase_10 AC 95 ms
15,248 KB
testcase_11 AC 95 ms
15,188 KB
testcase_12 AC 95 ms
15,360 KB
testcase_13 AC 147 ms
15,428 KB
testcase_14 AC 171 ms
15,528 KB
testcase_15 AC 188 ms
15,532 KB
testcase_16 AC 106 ms
15,412 KB
testcase_17 AC 100 ms
15,492 KB
testcase_18 AC 107 ms
15,436 KB
testcase_19 AC 94 ms
15,220 KB
testcase_20 AC 94 ms
15,228 KB
testcase_21 AC 95 ms
15,280 KB
testcase_22 AC 94 ms
15,220 KB
testcase_23 AC 94 ms
15,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require 'prime'

N = gets.to_i

if N.prime_division.size <= 2
  puts 'Yes'
else
  puts 'No'
end
0