結果

問題 No.83 最大マッチング
ユーザー masakiGit
提出日時 2019-03-15 22:06:07
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 540 ms
コンパイル使用メモリ 65,988 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-01 21:00:00
合計ジャッジ時間 1,374 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

int main() {
  int i, sho, amari;
  string s;
  cin >> i;
  amari = i % 2;
  sho = (i - amari) / 2;
  s = "";
  if (amari == 1) {
    sho--;
    s = s + "7";
  }
  for (int j = 0; j < sho; j++) {
    s = s + "1";
  }
  return 0;
}
0