結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
mewmew
|
| 提出日時 | 2017-03-02 00:03:04 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 5,000 ms |
| コード長 | 405 bytes |
| コンパイル時間 | 477 ms |
| コンパイル使用メモリ | 61,292 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-12 22:49:12 |
| 合計ジャッジ時間 | 1,285 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <string>
#define REP(i,n) for(int i=0;i<(n);++i)
#define SORT(a) sort((a).begin(),(a).end())
#define PB push_back
using namespace std;
typedef vector<int> VI;
typedef queue<int> QI;
int main(){
int N;
cin >> N;
if(N % 2 == 1){
cout << '7';
N -= 3;
}
REP(i,N/2){
cout << '1';
}
cout << endl;
}
mewmew