結果

問題 No.172 UFOを捕まえろ
ユーザー gigurururugigurururu
提出日時 2015-03-26 23:51:59
言語 Ruby
(3.3.0)
結果
AC  
実行時間 84 ms / 5,000 ms
コード長 57 bytes
コンパイル時間 41 ms
コンパイル使用メモリ 11,360 KB
実行使用メモリ 15,648 KB
最終ジャッジ日時 2023-08-27 05:31:12
合計ジャッジ時間 3,223 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,368 KB
testcase_01 AC 83 ms
15,640 KB
testcase_02 AC 84 ms
15,364 KB
testcase_03 AC 82 ms
15,428 KB
testcase_04 AC 83 ms
15,588 KB
testcase_05 AC 81 ms
15,432 KB
testcase_06 AC 82 ms
15,548 KB
testcase_07 AC 81 ms
15,556 KB
testcase_08 AC 83 ms
15,632 KB
testcase_09 AC 82 ms
15,448 KB
testcase_10 AC 81 ms
15,520 KB
testcase_11 AC 83 ms
15,484 KB
testcase_12 AC 83 ms
15,640 KB
testcase_13 AC 84 ms
15,512 KB
testcase_14 AC 82 ms
15,472 KB
testcase_15 AC 82 ms
15,576 KB
testcase_16 AC 82 ms
15,432 KB
testcase_17 AC 83 ms
15,476 KB
testcase_18 AC 83 ms
15,584 KB
testcase_19 AC 81 ms
15,648 KB
testcase_20 AC 81 ms
15,588 KB
testcase_21 AC 81 ms
15,376 KB
testcase_22 AC 81 ms
15,372 KB
testcase_23 AC 81 ms
15,436 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

x,y,r=gets.split.map{|i|i.to_i.abs}
p (x+y+r*2**0.5).ceil
0