結果

問題 No.796 well known
ユーザー tsunabittsunabit
提出日時 2019-07-12 22:06:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 562 ms / 2,000 ms
コード長 331 bytes
コンパイル時間 4,108 ms
コンパイル使用メモリ 76,368 KB
実行使用メモリ 49,608 KB
最終ジャッジ日時 2024-04-29 15:44:12
合計ジャッジ時間 11,769 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
39,816 KB
testcase_01 AC 134 ms
40,708 KB
testcase_02 AC 139 ms
41,100 KB
testcase_03 AC 136 ms
41,296 KB
testcase_04 AC 520 ms
49,292 KB
testcase_05 AC 526 ms
49,608 KB
testcase_06 AC 562 ms
49,260 KB
testcase_07 AC 319 ms
48,712 KB
testcase_08 AC 531 ms
49,220 KB
testcase_09 AC 409 ms
44,204 KB
testcase_10 AC 533 ms
49,176 KB
testcase_11 AC 277 ms
46,040 KB
testcase_12 AC 396 ms
48,792 KB
testcase_13 AC 510 ms
49,332 KB
testcase_14 AC 369 ms
49,012 KB
testcase_15 AC 417 ms
49,312 KB
testcase_16 AC 560 ms
49,308 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