結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
![]() |
提出日時 | 2018-06-30 21:23:41 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 1,666 ms |
コンパイル使用メモリ | 168,216 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 01:00:48 |
合計ジャッジ時間 | 2,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 4 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int N, i, tmp; vector <int> x; cin >> N; for(i = 0; i < N; i++){ cin >> tmp; x.push_back(tmp); } if(N%2 == 0){ cout << 0 << endl; }else{ cout << 1 << endl; } return 0; }