結果

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

ソースコード

diff #

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

typedef long long ll;

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


0