結果

問題 No.99 ジャンピング駒
ユーザー kyo1kyo1
提出日時 2020-05-16 00:29:15
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 2,577 ms
コンパイル使用メモリ 202,000 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 19:06:49
合計ジャッジ時間 2,856 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#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;
}
0