結果

問題 No.1942 Leading zero
ユーザー kitamoto0407kitamoto0407
提出日時 2022-07-10 22:51:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 455 bytes
コンパイル時間 1,990 ms
コンパイル使用メモリ 71,684 KB
実行使用メモリ 53,488 KB
最終ジャッジ日時 2023-09-02 06:49:42
合計ジャッジ時間 3,007 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,304 KB
testcase_01 AC 41 ms
49,176 KB
testcase_02 AC 223 ms
53,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        
        int[] num = new int[n];
        for(int i = 0; i < n; i++) {
            num[i] = Integer.parseInt(br.readLine());
        }
        
        for(int i = 0; i < n; i++) System.out.println(num[i]);
    }
}
0