結果

問題 No.508 超ゆとり教育
ユーザー samplelpmassamplelpmas
提出日時 2017-05-01 21:55:08
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 274 bytes
コンパイル時間 2,006 ms
コンパイル使用メモリ 71,032 KB
実行使用メモリ 58,424 KB
最終ジャッジ日時 2023-10-12 02:26:47
合計ジャッジ時間 5,036 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        long N = sc.nextLong();

        double radius =  Math.ceil(Math.sqrt(N / 3));

        System.out.println(radius);

    }

}
0