結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2017-09-19 17:12:02 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 5,000 ms |
コード長 | 543 bytes |
コンパイル時間 | 1,953 ms |
コンパイル使用メモリ | 191,928 KB |
最終ジャッジ日時 | 2025-01-05 02:59:11 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h>#define rep(i,n) for(li i=0;i<(n);i++)#define red(i,n) for(li i=(n)-1;i>=0;i--)#define all(a) begin(a),end(a)#define pb(a) push_back(a)#define fi first#define se secondusing namespace std;using li = long long;using ul = unsigned long long;using vi = vector<li>;using vs = vector<string>;inline ul gcd(ul a,ul b) { return b?gcd(b,a%b):a; }const int INF=1000000009;int main(){int n;cin>>n;cout<<(n%2?7:1);n/=2;rep(i,n-1)cout<<1;cout<<endl;return 0;}