結果

問題 No.508 超ゆとり教育
ユーザー htensaihtensai
提出日時 2019-12-19 12:37:04
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 314 bytes
コンパイル時間 1,937 ms
コンパイル使用メモリ 71,364 KB
実行使用メモリ 49,560 KB
最終ジャッジ日時 2023-09-21 06:41:59
合計ジャッジ時間 3,569 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,192 KB
testcase_01 WA -
testcase_02 AC 44 ms
49,472 KB
testcase_03 AC 44 ms
49,180 KB
testcase_04 AC 44 ms
49,172 KB
testcase_05 AC 43 ms
49,096 KB
testcase_06 AC 45 ms
49,560 KB
testcase_07 AC 44 ms
49,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;

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