結果

問題 No.508 超ゆとり教育
ユーザー Amanita2016Amanita2016
提出日時 2017-06-27 22:34:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 304 bytes
コンパイル時間 2,015 ms
コンパイル使用メモリ 74,116 KB
実行使用メモリ 54,444 KB
最終ジャッジ日時 2024-04-15 03:33:21
合計ジャッジ時間 3,534 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
54,444 KB
testcase_01 AC 108 ms
53,028 KB
testcase_02 AC 121 ms
54,276 KB
testcase_03 AC 123 ms
53,892 KB
testcase_04 AC 119 ms
53,780 KB
testcase_05 AC 109 ms
52,724 KB
testcase_06 AC 122 ms
54,172 KB
testcase_07 AC 111 ms
52,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {	
		long radrad =  new Scanner(System.in).nextLong()/3;
		long radius = 1;
		for(long i = 1 ; i*i < radrad ;i++){
			radius = radrad / i; 
		}
		System.out.println(radius);
	}

}
0