結果
| 問題 | No.1402 ビル街 |
| コンテスト | |
| ユーザー |
umezo
|
| 提出日時 | 2021-02-19 23:43:31 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 323 bytes |
| 記録 | |
| コンパイル時間 | 1,130 ms |
| コンパイル使用メモリ | 208,288 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-18 04:07:41 |
| 合計ジャッジ時間 | 6,132 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 5 |
ソースコード
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
rep(i,n+2){
if(i) cout<<" ";
if(i==0 || i==n+1) cout<<2000000000;
else if(i%2==1) cout<<2;
else cout<<4;
}
return 0;
}
umezo