結果

問題 No.796 well known
ユーザー caleicalei
提出日時 2020-01-22 15:18:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 916 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 10,756 KB
最終ジャッジ日時 2023-09-22 11:25:20
合計ジャッジ時間 3,006 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,856 KB
testcase_01 AC 15 ms
7,784 KB
testcase_02 AC 15 ms
7,828 KB
testcase_03 AC 16 ms
7,788 KB
testcase_04 AC 46 ms
9,928 KB
testcase_05 AC 49 ms
10,408 KB
testcase_06 AC 57 ms
10,756 KB
testcase_07 AC 24 ms
8,812 KB
testcase_08 AC 49 ms
10,336 KB
testcase_09 AC 37 ms
9,576 KB
testcase_10 AC 56 ms
10,704 KB
testcase_11 AC 21 ms
8,676 KB
testcase_12 AC 33 ms
9,216 KB
testcase_13 AC 46 ms
10,032 KB
testcase_14 AC 29 ms
9,156 KB
testcase_15 AC 35 ms
9,548 KB
testcase_16 AC 56 ms
10,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# yukicoder No.796 well known 2020/01/22

n=int(input())
ans=[3]+[1]*(n-2)
_sum=sum(ans)
rest=4-_sum%3
ans.append(rest)
print(*ans)
0