結果

問題 No.508 超ゆとり教育
ユーザー gemmarogemmaro
提出日時 2019-11-09 08:17:56
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 49 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 11,376 KB
実行使用メモリ 15,328 KB
最終ジャッジ日時 2023-10-13 06:49:44
合計ジャッジ時間 2,383 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,024 KB
testcase_01 WA -
testcase_02 AC 85 ms
15,168 KB
testcase_03 AC 85 ms
15,248 KB
testcase_04 AC 86 ms
15,328 KB
testcase_05 AC 84 ms
15,152 KB
testcase_06 AC 83 ms
15,020 KB
testcase_07 AC 84 ms
15,128 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chomp.to_i

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