結果
| 問題 |
No.99 ジャンピング駒
|
| コンテスト | |
| ユーザー |
matsu7874
|
| 提出日時 | 2015-10-07 12:40:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 152 bytes |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 21,720 KB |
| 最終ジャッジ日時 | 2024-07-20 01:50:45 |
| 合計ジャッジ時間 | 1,423 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 6 |
ソースコード
N = int(input())
X = list(map(int, input().split()))
cnt = 0
for x in X:
if X % 2 == 0:
cnt += 1
else:
cnt -= 1
print(abs(cnt))
matsu7874