結果
| 問題 | No.99 ジャンピング駒 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-02 21:02:16 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 44 ms / 5,000 ms |
| + 493µs | |
| コード長 | 182 bytes |
| 記録 | |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 81,180 KB |
| 実行使用メモリ | 87,768 KB |
| 最終ジャッジ日時 | 2026-09-23 08:48:55 |
| 合計ジャッジ時間 | 1,776 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
N = int(input())
lsX = list(map(int,input().split()))
cnto = 0
cnte = 0
for i in range(N):
if lsX[i] % 2 == 0:
cnto += 1
else:
cnte += 1
print(abs(cnto-cnte))