結果
| 問題 |
No.796 well known
|
| コンテスト | |
| ユーザー |
yapoo
|
| 提出日時 | 2019-03-15 21:23:59 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 11 ms / 2,000 ms |
| コード長 | 276 bytes |
| コンパイル時間 | 1,292 ms |
| コンパイル使用メモリ | 158,964 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-01 20:14:59 |
| 合計ジャッジ時間 | 2,291 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
int N; cin >> N;
vector<int> ans(N);
ans[0] = 1;
for(int i=1; i<N; i++) ans[i] = 3;
for(int i=0; i<N-1; i++){
cout << ans[i] << " ";
}cout << ans[N-1] << endl;
}
yapoo