結果

問題 No.508 超ゆとり教育
ユーザー キョウチクキョウチク
提出日時 2022-05-16 10:30:23
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 279 bytes
コンパイル時間 3,299 ms
コンパイル使用メモリ 72,440 KB
実行使用メモリ 57,900 KB
最終ジャッジ日時 2023-10-12 02:36:03
合計ジャッジ時間 5,634 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,936 KB
testcase_01 WA -
testcase_02 AC 125 ms
56,028 KB
testcase_03 AC 125 ms
57,900 KB
testcase_04 AC 125 ms
55,764 KB
testcase_05 AC 125 ms
55,484 KB
testcase_06 AC 126 ms
55,988 KB
testcase_07 AC 128 ms
56,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Test10 {
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    String line;
    line=sc.nextLine();
    long r=(long)Math.abs(Math.sqrt(Double.parseDouble(line)/3));
    System.out.println(r);
    sc.close();
  }
}
0