結果

問題 No.172 UFOを捕まえろ
ユーザー nonokai10nonokai10
提出日時 2018-03-28 19:49:42
言語 Ruby
(3.3.0)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 57 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 11,560 KB
実行使用メモリ 15,704 KB
最終ジャッジ日時 2023-09-07 19:29:02
合計ジャッジ時間 3,288 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,624 KB
testcase_01 AC 76 ms
15,544 KB
testcase_02 AC 78 ms
15,428 KB
testcase_03 AC 78 ms
15,424 KB
testcase_04 AC 77 ms
15,580 KB
testcase_05 AC 73 ms
15,492 KB
testcase_06 AC 73 ms
15,656 KB
testcase_07 AC 78 ms
15,412 KB
testcase_08 AC 77 ms
15,688 KB
testcase_09 AC 77 ms
15,648 KB
testcase_10 AC 73 ms
15,440 KB
testcase_11 AC 74 ms
15,684 KB
testcase_12 AC 76 ms
15,640 KB
testcase_13 AC 80 ms
15,640 KB
testcase_14 AC 77 ms
15,504 KB
testcase_15 AC 78 ms
15,704 KB
testcase_16 AC 77 ms
15,644 KB
testcase_17 AC 78 ms
15,480 KB
testcase_18 AC 78 ms
15,488 KB
testcase_19 AC 79 ms
15,408 KB
testcase_20 AC 78 ms
15,416 KB
testcase_21 AC 78 ms
15,412 KB
testcase_22 AC 79 ms
15,420 KB
testcase_23 AC 83 ms
15,528 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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