結果

問題 No.796 well known
ユーザー Beat7501Beat7501
提出日時 2019-10-25 20:01:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 504 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 2,448 ms
コンパイル使用メモリ 72,248 KB
実行使用メモリ 64,832 KB
最終ジャッジ日時 2023-09-29 01:27:36
合計ジャッジ時間 9,950 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
55,396 KB
testcase_01 AC 129 ms
55,556 KB
testcase_02 AC 128 ms
55,808 KB
testcase_03 AC 131 ms
55,812 KB
testcase_04 AC 449 ms
64,268 KB
testcase_05 AC 476 ms
64,068 KB
testcase_06 AC 504 ms
64,832 KB
testcase_07 AC 310 ms
64,032 KB
testcase_08 AC 472 ms
64,192 KB
testcase_09 AC 411 ms
64,188 KB
testcase_10 AC 493 ms
64,476 KB
testcase_11 AC 266 ms
62,108 KB
testcase_12 AC 385 ms
64,568 KB
testcase_13 AC 452 ms
64,276 KB
testcase_14 AC 353 ms
63,936 KB
testcase_15 AC 399 ms
64,500 KB
testcase_16 AC 493 ms
64,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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