結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,788 KB
testcase_01 WA -
testcase_02 AC 117 ms
55,800 KB
testcase_03 AC 118 ms
55,488 KB
testcase_04 AC 120 ms
55,756 KB
testcase_05 AC 129 ms
56,032 KB
testcase_06 AC 128 ms
55,496 KB
testcase_07 AC 128 ms
55,732 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);

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

    }

}
0