結果

問題 No.99 ジャンピング駒
ユーザー srup٩(๑`н´๑)۶
提出日時 2016-09-24 20:41:59
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 524 ms
コンパイル使用メモリ 57,024 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-18 10:49:15
合計ジャッジ時間 1,469 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<(n);i++)

int main(void){
	int n; cin >> n;
	if(n % 2 == 0){
		printf("0\n");
	}else{
		printf("1\n");
	}
	return 0;
}
0