結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
cakecatz
|
| 提出日時 | 2019-12-15 06:01:45 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 373µs | |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 855 ms |
| コンパイル使用メモリ | 179,436 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-01 01:54:36 |
| 合計ジャッジ時間 | 2,072 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s = "";
int n;
cin >> n;
if (n % 2 == 1) {
n -= 3;
s += '7';
}
int x = n / 2;
for (int i = 0; i < x; i++) {
s += '1';
}
cout << s;
return 0;
}
cakecatz