結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
suibaka
|
| 提出日時 | 2017-02-26 09:16:40 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 551µs | |
| コード長 | 307 bytes |
| 記録 | |
| コンパイル時間 | 319 ms |
| コンパイル使用メモリ | 76,672 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-25 14:22:23 |
| 合計ジャッジ時間 | 1,634 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
string res;
while(n >= 2) {
if(n % 2 == 1) {
res += '7';
n -= 3;
} else {
res += '1';
n -= 2;
}
}
cout << res << endl;
}
suibaka