結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー ぴろずぴろず
提出日時 2015-03-27 00:48:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 178 ms / 3,000 ms
コード長 347 bytes
コンパイル時間 2,254 ms
コンパイル使用メモリ 72,108 KB
実行使用メモリ 56,020 KB
最終ジャッジ日時 2023-09-11 10:37:44
合計ジャッジ時間 3,855 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
56,020 KB
testcase_01 AC 153 ms
55,692 KB
testcase_02 AC 164 ms
55,840 KB
testcase_03 AC 171 ms
55,772 KB
testcase_04 AC 178 ms
55,864 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 = 100000000 * 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