結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
18,816 KB
testcase_01 AC 112 ms
18,816 KB
testcase_02 AC 110 ms
18,944 KB
testcase_03 AC 109 ms
18,944 KB
testcase_04 AC 2,371 ms
19,328 KB
testcase_05 AC 2,201 ms
19,584 KB
testcase_06 AC 311 ms
19,584 KB
testcase_07 AC 301 ms
19,584 KB
testcase_08 AC 304 ms
19,584 KB
testcase_09 AC 4,883 ms
19,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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