結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,728 KB
testcase_01 WA -
testcase_02 AC 130 ms
55,400 KB
testcase_03 AC 128 ms
55,812 KB
testcase_04 AC 131 ms
55,632 KB
testcase_05 AC 128 ms
55,756 KB
testcase_06 AC 127 ms
55,352 KB
testcase_07 AC 130 ms
55,940 KB
権限があれば一括ダウンロードができます

ソースコード

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.sqrt(N / 3.0);

        System.out.println((int) radius);

    }

}
0