結果
| 問題 | 
                            No.99 ジャンピング駒
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kyo1
                         | 
                    
| 提出日時 | 2020-05-16 00:29:15 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 258 bytes | 
| コンパイル時間 | 2,337 ms | 
| コンパイル使用メモリ | 193,048 KB | 
| 最終ジャッジ日時 | 2025-01-10 12:17:20 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 2 WA * 4 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int N;
  cin >> N;
  vector<int> X(N);
  for (int i = 0; i < N; i++) {
    cin >> X[i];
  }
  cout << (N % 2 == 0 ? '0' : '1') << '\n';
  return 0;
}
            
            
            
        
            
kyo1