結果

問題 No.99 ジャンピング駒
ユーザー gorugo30gorugo30
提出日時 2021-02-23 16:49:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 118 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 81,788 KB
実行使用メモリ 82,952 KB
最終ジャッジ日時 2023-10-23 18:17:58
合計ジャッジ時間 1,269 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
X = list(map(lambda x: int(x) % 2, input().split()))
z = X.count(0)
o = X.count(1)

print(abs(z - o))
0