結果
問題 |
No.796 well known
|
ユーザー |
![]() |
提出日時 | 2019-12-31 01:43:23 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 94 ms / 2,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 1,922 ms |
コンパイル使用メモリ | 192,764 KB |
最終ジャッジ日時 | 2025-01-08 15:16:29 |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int n; cin >> n; for (int i = 0; i < n; i++) { if (i == 0) { cout << 1; } else { cout << 3; } if (i == n - 1) { cout << endl; } else { cout << " "; } } return 0; }