結果

問題 No.99 ジャンピング駒
ユーザー mlihua09mlihua09
提出日時 2020-08-27 23:14:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 128 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 76,032 KB
最終ジャッジ日時 2024-04-26 06:03:28
合計ジャッジ時間 1,501 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
75,776 KB
testcase_01 AC 60 ms
75,648 KB
testcase_02 AC 57 ms
75,776 KB
testcase_03 AC 58 ms
76,032 KB
testcase_04 AC 58 ms
75,776 KB
testcase_05 AC 58 ms
75,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


N = int(input())

ans = [0] * 2

for i in map(int, input().split()):
    
    ans[i % 2] += 1
    
print(abs(ans[0] - ans[1]))
0