結果

問題 No.3030 ミラー・ラビン素数判定法のテスト
ユーザー iiljjiiljj
提出日時 2020-07-28 12:30:36
言語 Ruby
(3.3.0)
結果
AC  
実行時間 5,282 ms / 9,973 ms
コード長 73 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 19,584 KB
最終ジャッジ日時 2024-04-29 14:05:19
合計ジャッジ時間 13,357 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
18,816 KB
testcase_01 AC 123 ms
18,560 KB
testcase_02 AC 125 ms
18,944 KB
testcase_03 AC 123 ms
18,944 KB
testcase_04 AC 2,630 ms
19,584 KB
testcase_05 AC 2,404 ms
19,584 KB
testcase_06 AC 342 ms
19,328 KB
testcase_07 AC 340 ms
19,456 KB
testcase_08 AC 337 ms
19,584 KB
testcase_09 AC 5,282 ms
19,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -nlropenssl
$.>1&&(puts$_+' '+(OpenSSL::BN.new($_).prime?? ?1:?0))
0