結果
問題 |
No.796 well known
|
ユーザー |
![]() |
提出日時 | 2019-10-25 19:56:35 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 11 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 1,618 ms |
コンパイル使用メモリ | 165,012 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-21 19:58:17 |
合計ジャッジ時間 | 2,864 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> #include <assert.h> using namespace std; using i64 = long long; int main() { i64 n; cin >> n; cout << 3 << " " << 1 << " "; for (i64 i = 2; i < n; i++) cout << 3 << (i + 1 == n ? "\n" : " "); return 0; }