結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー ぴろずぴろず
提出日時 2015-03-27 00:49:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 227 ms / 3,000 ms
コード長 363 bytes
コンパイル時間 3,273 ms
コンパイル使用メモリ 71,092 KB
実行使用メモリ 56,004 KB
最終ジャッジ日時 2023-09-11 10:36:54
合計ジャッジ時間 4,124 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
55,672 KB
testcase_01 AC 131 ms
55,404 KB
testcase_02 AC 133 ms
55,848 KB
testcase_03 AC 142 ms
56,004 KB
testcase_04 AC 227 ms
55,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no174a;

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = 10000 * (int) Math.pow(10, sc.nextInt());
		long sum = 0;
		for(int i=0;i<n;i++) {
			sum += Integer.numberOfTrailingZeros(Integer.bitCount(n));
		}
		System.out.println(0);
		//System.out.println(sum);
	}
}
0