結果

問題 No.508 超ゆとり教育
ユーザー samplelpmas
提出日時 2017-05-01 21:57:18
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 2,109 ms
コンパイル使用メモリ 75,192 KB
実行使用メモリ 54,544 KB
最終ジャッジ日時 2024-09-14 02:13:57
合計ジャッジ時間 4,028 ms
ジャッジサーバーID
(参考情報)
judge1 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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