結果
問題 | No.796 well known |
ユーザー |
![]() |
提出日時 | 2019-10-25 20:48:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 7 ms / 2,000 ms |
コード長 | 1,077 bytes |
コンパイル時間 | 2,069 ms |
コンパイル使用メモリ | 167,856 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-22 07:47:19 |
合計ジャッジ時間 | 2,503 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#include "bits/stdc++.h"using namespace std;#define int long longvoid YN(bool flg){cout<<(flg?"YES":"NO")<<endl;}void Yn(bool flg){cout<<(flg?"Yes":"No")<<endl;}void yn(bool flg){cout<<(flg?"yes":"no")<<endl;}#define SORT(a) sort(a.begin(),a.end())#define REVERSE(a) reverse(a.begin(),a.end())#define REP(i, n) for(int i = 0;i < n;i++)#define FOR(i, m, n) for(int i = m;i < n;i++)#define db(n) cout << "### " << n << " ###" << endl;typedef vector<int> VI;typedef vector<VI> VVI;typedef long long ll;const long long MOD=1000000007;const long long INF = 10e10;template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }int GCD(int a, int b) { return b ? GCD(b, a%b) : a; }int LCM(int a, int b) { int g = GCD(a, b); return a / g * b; }signed main(){ios::sync_with_stdio(false);cin.tie(nullptr);cout<<fixed<<setprecision(15);int n; cin >> n;FOR(i,1,n) cout << 3 << ' ';cout << 1 << endl;return 0;}