結果
問題 | No.796 well known |
ユーザー |
![]() |
提出日時 | 2019-03-16 01:17:19 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 11 ms / 2,000 ms |
コード長 | 380 bytes |
コンパイル時間 | 1,591 ms |
コンパイル使用メモリ | 167,204 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-01 22:13:41 |
合計ジャッジ時間 | 2,612 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; using llong = long long; using ldbl = long double; using P = pair<llong, llong>; #define BE(x) x.begin(), x.end() const llong inf = llong(1e18)+7; const llong mod = 1e9+7; int main(){ llong N; cin >> N; cout << 1 << " "; for(int i = 0; i < N-1; i++){ cout << 3; if(i < N-2) cout << " "; } cout << endl; return 0; }