結果

問題 No.83 最大マッチング
ユーザー toshiro_yanagi
提出日時 2019-01-11 18:30:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 708 ms
コンパイル使用メモリ 62,208 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-29 12:56:56
合計ジャッジ時間 1,402 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main()
{
	int n;
	cin >> n;

	while (n >= 2)
	{
		if (n == 3)
		{
			cout << 7;
			break;
		}
		cout << 1;
		n -= 2;
	}
	cout << endl;
}
0