結果

問題 No.99 ジャンピング駒
ユーザー ohreitetsuohreitetsu
提出日時 2018-06-28 21:39:44
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 557 ms
コンパイル使用メモリ 64,052 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-13 14:54:48
合計ジャッジ時間 1,419 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
4,380 KB
testcase_01 AC 39 ms
4,380 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
	int N;
	cin>>N;
	int A;
	int i;
	for (i=0;i<N;i++){
		cin>>A;
	}
	if (N%2==0){
		cout<<0<<endl;
	}else{
		cout<<1<<endl;
	}

	return 0;
}
0