結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー ぴろずぴろず
提出日時 2015-03-27 00:52:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 222 ms / 3,000 ms
コード長 336 bytes
コンパイル時間 3,133 ms
コンパイル使用メモリ 71,044 KB
実行使用メモリ 39,420 KB
最終ジャッジ日時 2023-09-11 10:39:00
合計ジャッジ時間 4,303 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
39,416 KB
testcase_01 AC 128 ms
39,168 KB
testcase_02 AC 129 ms
39,080 KB
testcase_03 AC 138 ms
39,420 KB
testcase_04 AC 222 ms
39,160 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.lowestOneBit(n);
		}
		System.out.println(0);
		//System.out.println(sum);
	}
}
0