結果

問題 No.136 Yet Another GCD Problem
ユーザー gigurururugigurururu
提出日時 2015-01-25 23:35:46
言語 Ruby
(3.1.1p18 )
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 53 bytes
コンパイル時間 30 ms
使用メモリ 14,368 KB
最終ジャッジ日時 2023-01-15 01:27:50
合計ジャッジ時間 5,294 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 85 ms
14,148 KB
testcase_01 AC 83 ms
14,028 KB
testcase_02 AC 84 ms
14,148 KB
testcase_03 AC 84 ms
14,100 KB
testcase_04 AC 83 ms
14,108 KB
testcase_05 AC 83 ms
14,356 KB
testcase_06 AC 84 ms
14,120 KB
testcase_07 AC 83 ms
14,160 KB
testcase_08 AC 84 ms
14,128 KB
testcase_09 AC 83 ms
14,140 KB
testcase_10 AC 83 ms
14,136 KB
testcase_11 AC 83 ms
14,356 KB
testcase_12 AC 84 ms
14,112 KB
testcase_13 AC 83 ms
14,020 KB
testcase_14 AC 83 ms
14,288 KB
testcase_15 AC 83 ms
14,248 KB
testcase_16 AC 83 ms
14,024 KB
testcase_17 AC 83 ms
14,024 KB
testcase_18 AC 83 ms
14,084 KB
testcase_19 AC 84 ms
14,020 KB
testcase_20 AC 84 ms
14,168 KB
testcase_21 AC 83 ms
14,232 KB
testcase_22 AC 83 ms
14,128 KB
testcase_23 AC 83 ms
14,368 KB
testcase_24 AC 83 ms
14,140 KB
testcase_25 AC 83 ms
14,132 KB
testcase_26 AC 83 ms
14,096 KB
testcase_27 AC 83 ms
14,160 KB
testcase_28 AC 83 ms
14,232 KB
testcase_29 AC 84 ms
14,096 KB
testcase_30 AC 84 ms
14,268 KB
testcase_31 AC 83 ms
14,112 KB
testcase_32 AC 86 ms
14,108 KB
testcase_33 AC 84 ms
14,016 KB
testcase_34 AC 83 ms
14,164 KB
testcase_35 AC 83 ms
14,136 KB
testcase_36 AC 83 ms
14,140 KB
testcase_37 AC 83 ms
14,208 KB
testcase_38 AC 83 ms
14,100 KB
testcase_39 AC 83 ms
14,128 KB
testcase_40 AC 84 ms
14,092 KB
testcase_41 AC 82 ms
14,360 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime'
n=gets.to_i
p n/n.prime_division[0][0]
0