結果

問題 No.414 衝動
ユーザー hogeover30hogeover30
提出日時 2016-09-18 08:27:09
言語 Ruby
(3.3.0)
結果
RE  
実行時間 -
コード長 74 bytes
コンパイル時間 519 ms
コンパイル使用メモリ 11,348 KB
実行使用メモリ 15,412 KB
最終ジャッジ日時 2023-08-10 22:36:08
合計ジャッジ時間 4,324 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
15,356 KB
testcase_01 AC 92 ms
15,292 KB
testcase_02 AC 89 ms
15,076 KB
testcase_03 AC 186 ms
15,372 KB
testcase_04 AC 88 ms
15,176 KB
testcase_05 AC 176 ms
15,412 KB
testcase_06 AC 184 ms
15,360 KB
testcase_07 RE -
testcase_08 AC 138 ms
15,292 KB
testcase_09 AC 175 ms
15,404 KB
testcase_10 AC 82 ms
15,180 KB
testcase_11 AC 87 ms
15,316 KB
testcase_12 AC 86 ms
15,368 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime'
x=Prime.prime_division(n=gets.to_i)[0][0]
puts"#{x} #{n/x}"
0