結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
|
提出日時 | 2023-06-21 21:52:52 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 262 ms |
コンパイル使用メモリ | 82,572 KB |
実行使用メモリ | 90,448 KB |
最終ジャッジ日時 | 2024-06-29 07:03:42 |
合計ジャッジ時間 | 1,509 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 2 |
ソースコード
from collections import * from itertools import * from functools import * from heapq import * import sys,math # input = sys.stdin.readline N = int(input()) X = list(map(int,input().split())) X = [x%2 for x in X] C = Counter(X) print(N - min(C.values())*2)