結果

問題 No.1264 010
ユーザー ks2mks2m
提出日時 2020-10-23 22:02:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 327 bytes
コンパイル時間 3,819 ms
コンパイル使用メモリ 71,768 KB
実行使用メモリ 56,192 KB
最終ジャッジ日時 2023-09-28 15:48:21
合計ジャッジ時間 5,361 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,724 KB
testcase_01 AC 123 ms
55,380 KB
testcase_02 AC 125 ms
55,820 KB
testcase_03 AC 124 ms
55,944 KB
testcase_04 AC 125 ms
56,068 KB
testcase_05 AC 124 ms
55,928 KB
testcase_06 AC 122 ms
55,940 KB
testcase_07 AC 122 ms
56,124 KB
testcase_08 AC 121 ms
56,192 KB
testcase_09 AC 125 ms
55,920 KB
testcase_10 AC 126 ms
55,512 KB
testcase_11 AC 125 ms
55,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.close();

		StringBuilder sb = new StringBuilder("01");
		for (int i = 0; i < n; i++) {
			sb.append('0');
		}
		System.out.println(sb.toString());
	}
}
0