結果

問題 No.796 well known
ユーザー zyxwzyxw
提出日時 2021-03-08 16:33:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 82,524 KB
実行使用メモリ 79,360 KB
最終ジャッジ日時 2024-04-18 10:18:28
合計ジャッジ時間 2,490 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,712 KB
testcase_01 AC 39 ms
51,584 KB
testcase_02 AC 37 ms
52,096 KB
testcase_03 AC 38 ms
51,840 KB
testcase_04 AC 60 ms
76,544 KB
testcase_05 AC 67 ms
78,720 KB
testcase_06 AC 64 ms
79,232 KB
testcase_07 AC 51 ms
65,664 KB
testcase_08 AC 63 ms
78,592 KB
testcase_09 AC 56 ms
72,192 KB
testcase_10 AC 64 ms
79,360 KB
testcase_11 AC 50 ms
63,104 KB
testcase_12 AC 55 ms
69,504 KB
testcase_13 AC 59 ms
77,056 KB
testcase_14 AC 61 ms
67,584 KB
testcase_15 AC 55 ms
70,784 KB
testcase_16 AC 66 ms
79,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
data=[3]+[1]*(N-1)
if sum(data)%3==0:
    data[1]=2
elif sum(data)%3==2:
    data[1]=3
print(*data)
0