結果

問題 No.508 超ゆとり教育
ユーザー gemmarogemmaro
提出日時 2019-11-09 08:19:01
言語 Ruby
(3.2.2)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 49 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 11,372 KB
実行使用メモリ 15,248 KB
最終ジャッジ日時 2023-10-13 06:49:46
合計ジャッジ時間 1,633 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,172 KB
testcase_01 AC 79 ms
15,084 KB
testcase_02 AC 79 ms
15,036 KB
testcase_03 AC 84 ms
15,036 KB
testcase_04 AC 79 ms
15,092 KB
testcase_05 AC 78 ms
15,216 KB
testcase_06 AC 80 ms
15,248 KB
testcase_07 AC 80 ms
15,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chomp.to_i

p Math.sqrt(n.to_f / 3).ceil
0