結果

問題 No.508 超ゆとり教育
ユーザー shinwisteriashinwisteria
提出日時 2017-05-04 22:28:37
言語 Java19
(openjdk 21)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 2,971 ms
コンパイル使用メモリ 72,356 KB
実行使用メモリ 56,448 KB
最終ジャッジ日時 2023-10-12 08:10:49
合計ジャッジ時間 4,968 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
55,900 KB
testcase_01 WA -
testcase_02 AC 137 ms
55,944 KB
testcase_03 AC 134 ms
56,088 KB
testcase_04 AC 133 ms
55,904 KB
testcase_05 AC 136 ms
56,448 KB
testcase_06 AC 135 ms
56,004 KB
testcase_07 AC 135 ms
56,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Choyutori {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double n = s.nextDouble();
		s.close();
		int r = (int)Math.sqrt(n/3);
		System.out.println(r);

	}

}
0