結果

問題 No.796 well known
ユーザー tsunabittsunabit
提出日時 2019-07-12 22:06:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 484 ms / 2,000 ms
コード長 331 bytes
コンパイル時間 7,309 ms
コンパイル使用メモリ 72,076 KB
実行使用メモリ 64,832 KB
最終ジャッジ日時 2023-08-12 00:53:35
合計ジャッジ時間 13,076 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
54,132 KB
testcase_01 AC 127 ms
55,764 KB
testcase_02 AC 124 ms
56,020 KB
testcase_03 AC 122 ms
55,976 KB
testcase_04 AC 444 ms
64,504 KB
testcase_05 AC 443 ms
64,520 KB
testcase_06 AC 484 ms
64,648 KB
testcase_07 AC 286 ms
64,056 KB
testcase_08 AC 440 ms
64,324 KB
testcase_09 AC 390 ms
64,832 KB
testcase_10 AC 459 ms
64,516 KB
testcase_11 AC 253 ms
62,316 KB
testcase_12 AC 377 ms
63,916 KB
testcase_13 AC 430 ms
64,828 KB
testcase_14 AC 345 ms
64,208 KB
testcase_15 AC 388 ms
64,428 KB
testcase_16 AC 466 ms
64,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
import java.math.*;

public class No796 {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	System.out.print(1);
    	for(int i = 1; i < n; i++) {
    		System.out.print(" " + 3);
    	}
    	System.out.println("");
    }
}
0