結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2015-08-27 00:45:42 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 4 ms / 5,000 ms |
コード長 | 449 bytes |
コンパイル時間 | 467 ms |
コンパイル使用メモリ | 65,352 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 14:52:55 |
合計ジャッジ時間 | 1,010 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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;}