結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2020-08-24 05:11:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 408 bytes |
コンパイル時間 | 1,573 ms |
コンパイル使用メモリ | 166,544 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-15 19:45:01 |
合計ジャッジ時間 | 2,211 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 6 |
ソースコード
#include<bits/stdc++.h>#define rep(i,N) for(ll (i)=0;(i)<(N);(i)++)#define chmax(x,y) x=max(x,y)#define chmin(x,y) x=min(x,y)using namespace std;typedef long long ll;typedef pair<int,int> P;const int mod = 1000000007;const int INF = 1001001001;int main() {int n;cin >> n;string ans = "";rep(i, n / 2) {ans.push_back('1');}if (n % 2) ans.back() = '7';cout << ans << endl;}