結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2014-12-02 23:52:06 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 5,000 ms |
| コード長 | 269 bytes |
| コンパイル時間 | 346 ms |
| コンパイル使用メモリ | 54,268 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-11 07:49:38 |
| 合計ジャッジ時間 | 852 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
int n;
while (cin>>n) {
int c=0;
while (n>3) {
++c;
n-=2;
}
cout<<(n==3?7:1);
while (c--) cout<<1;
cout<<endl;
}
}
hogeover30