結果

問題 No.99 ジャンピング駒
ユーザー MaboyMaboy
提出日時 2018-02-22 10:20:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 11,804 KB
実行使用メモリ 20,800 KB
最終ジャッジ日時 2023-10-24 22:15:58
合計ジャッジ時間 1,043 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
20,720 KB
testcase_01 AC 61 ms
20,720 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

I=input
I()
x=list(map(int,I().split()))
o=len([y for y in x if y&1])
print((len(x)-o&1)+(o&1))
0