結果

問題 No.172 UFOを捕まえろ
ユーザー mmmpppmmmppp
提出日時 2017-02-26 16:24:54
言語 Ruby
(3.3.0)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 61 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 11,388 KB
実行使用メモリ 15,628 KB
最終ジャッジ日時 2023-09-02 10:00:48
合計ジャッジ時間 3,112 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,596 KB
testcase_01 AC 80 ms
15,396 KB
testcase_02 AC 80 ms
15,552 KB
testcase_03 AC 81 ms
15,580 KB
testcase_04 AC 81 ms
15,556 KB
testcase_05 AC 82 ms
15,368 KB
testcase_06 AC 82 ms
15,540 KB
testcase_07 AC 82 ms
15,604 KB
testcase_08 AC 81 ms
15,488 KB
testcase_09 AC 81 ms
15,608 KB
testcase_10 AC 81 ms
15,544 KB
testcase_11 AC 82 ms
15,488 KB
testcase_12 AC 82 ms
15,400 KB
testcase_13 AC 80 ms
15,628 KB
testcase_14 AC 81 ms
15,612 KB
testcase_15 AC 81 ms
15,484 KB
testcase_16 AC 80 ms
15,552 KB
testcase_17 AC 80 ms
15,444 KB
testcase_18 AC 81 ms
15,444 KB
testcase_19 AC 81 ms
15,424 KB
testcase_20 AC 81 ms
15,320 KB
testcase_21 AC 80 ms
15,432 KB
testcase_22 AC 80 ms
15,492 KB
testcase_23 AC 80 ms
15,356 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

x,y,r=gets.split.map &:to_i
t=r*2**0.5
p (x.abs+y.abs+t).ceil
0