結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2018-10-17 16:45:25 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 1,430 ms |
コンパイル使用メモリ | 166,152 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-12 18:52:57 |
合計ジャッジ時間 | 2,078 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int one = n / 2; int seven = n % 2; if (seven) one--; cout << (seven ? "7" : "") << string(one, '1') << endl; return 0; }