結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
stack9996
|
| 提出日時 | 2015-08-27 00:45:42 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 449 bytes |
| 記録 | |
| コンパイル時間 | 641 ms |
| コンパイル使用メモリ | 88,956 KB |
| 実行使用メモリ | 96,928 KB |
| 最終ジャッジ日時 | 2026-04-02 08:40:09 |
| 合計ジャッジ時間 | 1,328 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <iostream>
#include <numeric>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
#include <queue>
#define rep(i, a) FOR(i, 0, a)
#define FOR(i, a, b) for(int i = a; i < b; ++i)
typedef long long ll;
typedef unsigned long long ull;
typedef std::pair<int, int> P;
int main(){
int n;
std::cin >> n;
if (n % 2 != 0)n -= 3, std::cout << 7;
while (n != 0)n -= 2, std::cout << 1;
std::cout << std::endl;
return 0;
}
stack9996