結果

問題 No.796 well known
ユーザー トミー
提出日時 2024-07-17 00:49:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 1,768 ms
コンパイル使用メモリ 165,692 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-17 00:49:14
合計ジャッジ時間 4,642 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other AC * 8 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin>>n;
    cout<<3<<" ";
    for(int i=0;i<n-2;i++){
        cout<<1<<" ";
    }
    cout<<(n+1)%3<<endl;


    system("pause");
}
0