結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-02 09:07:29 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 329 bytes |
| コンパイル時間 | 4,250 ms |
| コンパイル使用メモリ | 250,948 KB |
| 最終ジャッジ日時 | 2025-02-20 19:34:27 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 WA * 6 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
int N;
int digit[10] = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6};
int main() {
cin >> N;
if (N == 3) cout << 7 << endl;
else {
N /= 2;
cout << string(N, '1') << endl;
}
return 0;
}