結果

問題 No.83 最大マッチング
ユーザー kyomachi_yswr
提出日時 2019-05-06 04:13:08
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 110 ms / 5,000 ms
コード長 463 bytes
コンパイル時間 683 ms
コンパイル使用メモリ 84,584 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 11:17:35
合計ジャッジ時間 1,560 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <set>
#include <map>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <climits>
#include <numeric>
#include <cmath>
#include <queue>
#include <sstream>
#include <string.h>
#include <bitset>

using namespace std;
typedef long long ll;

int main() {
  int N;
  cin >> N;
  
  string s = "";
  for (int i = 0; i < N / 2; i++) {
    s = s + '1';
  }
  if (N % 2) {
    s[0] = '7';
  }
  cout << s << endl;
  return 0;
}
0