結果

問題 No.83 最大マッチング
ユーザー chacoder1
提出日時 2021-01-31 12:03:14
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 253 bytes
コンパイル時間 2,512 ms
コンパイル使用メモリ 191,196 KB
最終ジャッジ日時 2025-01-18 10:16:01
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

typedef long long ll;

int main(){
  int n;
  cin>>n;
  int x=n/2;
  if(n%2==1){
    cout<<"7";
  }
  else{
    cout<<"1";
  }
  for(int i=0;i<x-1;i++){
    cout<<"1";
  }

  cout<<endl;
  
  return 0;
}


0