結果

問題 No.508 超ゆとり教育
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-05-04 07:43:55
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 401 bytes
コンパイル時間 2,090 ms
コンパイル使用メモリ 71,868 KB
実行使用メモリ 49,492 KB
最終ジャッジ日時 2023-10-12 06:05:55
合計ジャッジ時間 3,372 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
49,360 KB
testcase_01 WA -
testcase_02 AC 47 ms
49,252 KB
testcase_03 AC 47 ms
49,280 KB
testcase_04 AC 49 ms
49,276 KB
testcase_05 AC 47 ms
49,492 KB
testcase_06 AC 48 ms
49,320 KB
testcase_07 AC 46 ms
49,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import static java.lang.System.in;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        long n = Long.parseLong(reader.readLine());
        System.out.println((int)Math.sqrt(n/3));
    }
}
0