結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2015-07-14 20:37:42 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 160 bytes |
コンパイル時間 | 1,088 ms |
コンパイル使用メモリ | 157,696 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-08 07:16:54 |
合計ジャッジ時間 | 1,554 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; string res(n / 2, '1'); if (n % 2) res[0] = '7'; cout << res << endl; }