結果

問題 No.83 最大マッチング
ユーザー Series_205
提出日時 2019-10-22 18:15:08
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 11 ms / 5,000 ms
コード長 204 bytes
コンパイル時間 716 ms
コンパイル使用メモリ 65,764 KB
最終ジャッジ日時 2025-01-08 00:50:19
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int n;
int main(){
    cin>>n;
    if(n%2){
        cout<<7;
        n-=3;
    }
    while(n){
        cout<<1;
        n-=2;
    }
    cout<<endl;
    return 0;
}
0