結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2020-07-24 10:29:16 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 572 bytes |
コンパイル時間 | 952 ms |
コンパイル使用メモリ | 96,260 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-24 21:06:33 |
合計ジャッジ時間 | 1,531 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 6 |
ソースコード
#pragma GCC optimize("Ofast") #include<iostream> #include<stdio.h> #include<algorithm> #include<vector> #include<string.h> #include<math.h> #include<map> #include<iomanip> #include<queue> const long long INF_L = 1e17+7; const long long INF_I = 1e9+7; const long long MOD = 1e9+7; const double EPS = 1e-8; const double PI=acos(-1); using namespace std; int main(){ int n; cin >> n; int temp=n/2; if(n%2==0){ for(int i=0;i<temp;i++){ cout << 1; } cout << endl; }else{ for(int i=0;i<temp-1;i++){ cout << 1; } cout << 7 << endl; } return 0; }