結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
kichirb3
|
| 提出日時 | 2018-03-06 12:28:07 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 5,000 ms |
| コード長 | 368 bytes |
| コンパイル時間 | 578 ms |
| コンパイル使用メモリ | 63,864 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-16 08:20:06 |
| 合計ジャッジ時間 | 1,174 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
// No.83 最大マッチング
// https://yukicoder.me/problems/no/83
//
#include <iostream>
#include <string>
using namespace std;
int main() {
std::cin.tie(nullptr);
std::ios::sync_with_stdio(false);
int N;
cin >> N;
if (N % 2 == 0)
cout << string(N/2, '1') << endl;
else
cout << '7' << string((N-3)/2, '1') << endl;
}
kichirb3