結果

問題 No.508 超ゆとり教育
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-04-28 22:43:41
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 2,093 ms
コンパイル使用メモリ 70,808 KB
実行使用メモリ 56,052 KB
最終ジャッジ日時 2023-10-11 19:20:05
合計ジャッジ時間 4,109 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
56,052 KB
testcase_01 WA -
testcase_02 AC 124 ms
55,584 KB
testcase_03 AC 127 ms
55,768 KB
testcase_04 AC 124 ms
56,052 KB
testcase_05 AC 123 ms
56,044 KB
testcase_06 AC 129 ms
55,692 KB
testcase_07 AC 126 ms
55,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long N = sc.nextLong();
        int ans = (int)(Math.sqrt(N/3));
        System.out.println(ans);
    }
}
0