結果

問題 No.1264 010
ユーザー tentententen
提出日時 2020-10-26 09:01:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 1,000 ms
コード長 328 bytes
コンパイル時間 2,842 ms
コンパイル使用メモリ 71,464 KB
実行使用メモリ 56,340 KB
最終ジャッジ日時 2023-09-29 02:27:47
合計ジャッジ時間 5,488 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
56,340 KB
testcase_01 AC 129 ms
55,456 KB
testcase_02 AC 127 ms
55,632 KB
testcase_03 AC 128 ms
55,460 KB
testcase_04 AC 128 ms
55,480 KB
testcase_05 AC 127 ms
55,856 KB
testcase_06 AC 125 ms
55,292 KB
testcase_07 AC 128 ms
55,668 KB
testcase_08 AC 126 ms
55,280 KB
testcase_09 AC 128 ms
55,720 KB
testcase_10 AC 130 ms
55,764 KB
testcase_11 AC 128 ms
55,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        StringBuilder sb = new StringBuilder("01");
        for (int i = 0; i < n; i++) {
            sb.append("0");
        }
        System.out.println(sb);
    }
}
0