結果
| 問題 |
No.1402 ビル街
|
| コンテスト | |
| ユーザー |
沙耶花
|
| 提出日時 | 2021-02-19 22:58:00 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 383 bytes |
| コンパイル時間 | 2,153 ms |
| コンパイル使用メモリ | 194,908 KB |
| 最終ジャッジ日時 | 2025-01-19 01:19:15 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 5 |
ソースコード
#include <stdio.h>
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf 1000000000
int main(){
int N;
cin>>N;
vector<int> ans(1,Inf*2);
rep(i,N){
if(i==0)ans.push_back(Inf);
else ans.push_back(2+i);
}
ans.push_back(Inf);
rep(i,ans.size()){
if(i!=0)cout<<' ';
cout<<ans[i];
}
cout<<endl;
return 0;
}
沙耶花