結果

問題 No.99 ジャンピング駒
ユーザー ytftytft
提出日時 2022-11-12 12:01:23
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 101 ms / 5,000 ms
コード長 129 bytes
コンパイル時間 472 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 85,788 KB
最終ジャッジ日時 2023-10-12 04:08:38
合計ジャッジ時間 1,894 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
85,788 KB
testcase_01 AC 92 ms
85,692 KB
testcase_02 AC 97 ms
85,780 KB
testcase_03 AC 96 ms
85,576 KB
testcase_04 AC 101 ms
85,624 KB
testcase_05 AC 99 ms
85,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
N=int(input())
O=sum([int(i)%2 for i in input().split()])
print(abs(N-2*O))
0