結果

問題 No.1402 ビル街
ユーザー 259_Momone259_Momone
提出日時 2021-02-19 22:05:57
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 1,981 ms
コンパイル使用メモリ 199,512 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-10-15 01:49:38
合計ジャッジ時間 7,533 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

int main(){
    using namespace std;
    unsigned long N;
    cin >> N;
    vector<unsigned long> ans(N);
    iota(begin(ans), end(ans), 1UL);
    ans[0] = 1000000000;
    ans.back() = ans[0] + 1;
    cout << "2000000000 ";
    for(const auto& i : ans)cout << i << " ";
    cout << "2000000000";
    return 0;
}
0