結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
56,204 KB
testcase_01 AC 126 ms
56,116 KB
testcase_02 AC 127 ms
56,036 KB
testcase_03 AC 135 ms
56,404 KB
testcase_04 AC 221 ms
55,724 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.bitCount(n);
		}
		System.out.println(0);
		//System.out.println(sum);
	}
}
0