結果

問題 No.508 超ゆとり教育
ユーザー 👑 horiesinitihoriesiniti
提出日時 2017-06-24 04:38:04
言語 Ruby
(3.2.2)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 40 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 11,252 KB
実行使用メモリ 15,668 KB
最終ジャッジ日時 2023-07-27 08:53:52
合計ジャッジ時間 1,567 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,600 KB
testcase_01 AC 83 ms
15,488 KB
testcase_02 AC 81 ms
15,632 KB
testcase_03 AC 80 ms
15,668 KB
testcase_04 AC 81 ms
15,492 KB
testcase_05 AC 82 ms
15,548 KB
testcase_06 AC 82 ms
15,544 KB
testcase_07 AC 82 ms
15,600 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=((gets.to_f/3)**0.5).to_i
puts n<1?1:n
0