結果
問題 | No.99 ジャンピング駒 |
ユーザー | Navier_Boltzmann |
提出日時 | 2023-06-21 21:52:52 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 287 ms |
コンパイル使用メモリ | 86,748 KB |
実行使用メモリ | 93,768 KB |
最終ジャッジ日時 | 2023-09-11 16:57:10 |
合計ジャッジ時間 | 2,194 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 143 ms
93,488 KB |
testcase_01 | AC | 144 ms
93,568 KB |
testcase_02 | AC | 143 ms
93,748 KB |
testcase_03 | AC | 144 ms
93,768 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
ソースコード
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)