結果

問題 No.98 円を描こう
ユーザー syokeininsyokeinin
提出日時 2014-12-10 15:30:23
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 89 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 11,252 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-09-02 13:55:58
合計ジャッジ時間 1,981 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,116 KB
testcase_01 AC 82 ms
15,208 KB
testcase_02 AC 81 ms
15,008 KB
testcase_03 AC 82 ms
15,272 KB
testcase_04 WA -
testcase_05 AC 81 ms
15,012 KB
testcase_06 AC 82 ms
15,284 KB
testcase_07 AC 83 ms
15,272 KB
testcase_08 AC 81 ms
15,180 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

plot = gets.to_s.split(" ").map(&:to_i)
p (Math.hypot(plot[0], plot[1]) * 2 + 1).round  
0