結果
問題 | No.1402 ビル街 |
ユーザー |
![]() |
提出日時 | 2021-02-19 23:44:30 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 337 bytes |
コンパイル時間 | 2,280 ms |
コンパイル使用メモリ | 190,940 KB |
最終ジャッジ日時 | 2025-01-19 01:53:19 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 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; } cout<<endl; return 0; }