結果

問題 No.796 well known
ユーザー f843nmfwisfeuwf843nmfwisfeuw
提出日時 2020-09-26 17:35:21
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 564 bytes
コンパイル時間 960 ms
コンパイル使用メモリ 89,716 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-11 21:55:14
合計ジャッジ時間 4,618 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 WA -
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 100 ms
4,376 KB
testcase_05 AC 107 ms
4,380 KB
testcase_06 AC 134 ms
4,380 KB
testcase_07 AC 29 ms
4,376 KB
testcase_08 AC 111 ms
4,380 KB
testcase_09 AC 69 ms
4,384 KB
testcase_10 AC 127 ms
4,380 KB
testcase_11 AC 17 ms
4,376 KB
testcase_12 AC 60 ms
4,380 KB
testcase_13 AC 97 ms
4,380 KB
testcase_14 AC 45 ms
4,380 KB
testcase_15 AC 63 ms
4,380 KB
testcase_16 AC 128 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <stack>
#include <algorithm>
#include <string>
#include <map>
#include <iterator>
#include <set>
#include <queue>
#include <bitset>
#include <cassert>

using namespace std;
using ll = long long;


int main() {

    int N;
    cin>>N;
    
    N -= 2;
    cout << 3 << endl;
    cout << " " << endl;
    cout << 4 << endl;
    cout << " " << endl;
    for (int i = 0; i < N-1; ++i) {
        cout << 3 <<" " << endl;
    }
    cout << 3 << endl;
    return 0;
}
0