結果

問題 No.508 超ゆとり教育
ユーザー shinwisteriashinwisteria
提出日時 2017-05-04 22:35:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 2,970 ms
コンパイル使用メモリ 71,600 KB
実行使用メモリ 56,348 KB
最終ジャッジ日時 2023-10-12 08:11:14
合計ジャッジ時間 4,814 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
55,940 KB
testcase_01 AC 132 ms
55,844 KB
testcase_02 AC 131 ms
56,044 KB
testcase_03 AC 133 ms
55,720 KB
testcase_04 AC 132 ms
56,332 KB
testcase_05 AC 135 ms
56,348 KB
testcase_06 AC 140 ms
55,904 KB
testcase_07 AC 132 ms
56,112 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)+1;
		System.out.println(r);
	}
}
0