結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー fal_rndfal_rnd
提出日時 2016-11-08 23:18:10
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 2,239 ms
コンパイル使用メモリ 73,640 KB
実行使用メモリ 56,112 KB
最終ジャッジ日時 2024-05-03 23:47:47
合計ジャッジ時間 6,242 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
41,672 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 120 ms
39,928 KB
testcase_04 AC 134 ms
41,244 KB
testcase_05 AC 134 ms
41,240 KB
testcase_06 WA -
testcase_07 AC 128 ms
41,244 KB
testcase_08 AC 129 ms
41,500 KB
testcase_09 AC 130 ms
41,688 KB
testcase_10 AC 131 ms
41,292 KB
testcase_11 AC 134 ms
41,640 KB
testcase_12 AC 134 ms
41,192 KB
testcase_13 AC 134 ms
41,188 KB
testcase_14 AC 131 ms
41,108 KB
testcase_15 AC 133 ms
41,212 KB
testcase_16 AC 133 ms
41,100 KB
testcase_17 AC 129 ms
41,244 KB
testcase_18 AC 136 ms
41,244 KB
testcase_19 AC 140 ms
41,600 KB
testcase_20 AC 135 ms
41,208 KB
testcase_21 AC 134 ms
41,248 KB
testcase_22 AC 137 ms
41,288 KB
testcase_23 AC 133 ms
41,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class B{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		System.out.println((int)(Math.nextDown(1.0)+Math.log10(s.nextInt())/Math.log10(2)));
	}
}
0