結果

問題 No.83 最大マッチング
ユーザー aaaaaaiu
提出日時 2019-07-29 13:25:49
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 237 bytes
コンパイル時間 2,017 ms
コンパイル使用メモリ 192,060 KB
最終ジャッジ日時 2025-01-07 09:57:10
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int n;
    cin >> n;
    if (n%1) {
        putchar('7');
        n -= 3;
    }
    n /= 2;
    while (n--) putchar('1');
    puts("");
    return 0;
}
0