結果
| 問題 | No.99 ジャンピング駒 |
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-01 12:58:51 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 220 bytes |
| 記録 | |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 76,652 KB |
| 実行使用メモリ | 9,780 KB |
| 最終ジャッジ日時 | 2026-09-03 06:27:41 |
| 合計ジャッジ時間 | 1,330 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 6 |
ソースコード
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int ans = 0,n;
cin >> n;
for(int i = n;--i;){
int x;
cin >> x;
x & 1 ? --ans : ++ans;
}
cout << abs(ans) << endl;
}
ldsyb