結果

問題 No.83 最大マッチング
ユーザー Lay_ec
提出日時 2014-12-02 23:33:46
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 463 ms
コンパイル使用メモリ 71,044 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-11 07:44:16
合計ジャッジ時間 977 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 3 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <set>

using namespace std;

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

	unsigned long long res=0;
	if(n==3) res=7;
	else{
		while(n>=2){res*=10;res+=1; n-=2;}
	}

	cout<<res<<endl;

	return 0;

}
0