結果

問題 No.98 円を描こう
ユーザー holegumaholeguma
提出日時 2015-08-31 17:34:26
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 5,000 ms
コード長 200 bytes
コンパイル時間 2,242 ms
コンパイル使用メモリ 71,264 KB
実行使用メモリ 56,076 KB
最終ジャッジ日時 2023-09-25 21:21:39
合計ジャッジ時間 3,937 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,684 KB
testcase_01 AC 123 ms
55,596 KB
testcase_02 AC 121 ms
55,736 KB
testcase_03 AC 123 ms
55,680 KB
testcase_04 AC 124 ms
56,076 KB
testcase_05 AC 123 ms
55,656 KB
testcase_06 AC 121 ms
56,024 KB
testcase_07 AC 122 ms
55,436 KB
testcase_08 AC 123 ms
55,760 KB
testcase_09 AC 122 ms
55,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;class Main{public static void main(String[] args){Scanner ir=new Scanner(System.in);System.out.println((int)Math.floor(2*Math.hypot((double)ir.nextInt(),(double)ir.nextInt()))+1);}}
0