結果
問題 | No.99 ジャンピング駒 |
ユーザー |
![]() |
提出日時 | 2023-10-20 11:25:29 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 71 ms / 5,000 ms |
コード長 | 135 bytes |
コンパイル時間 | 1,036 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 91,776 KB |
最終ジャッジ日時 | 2024-09-20 06:58:32 |
合計ジャッジ時間 | 1,671 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
n = int(input())A = list(map(int, input().split()))print(abs(len([a for a in A if a % 2 == 0]) - len([a for a in A if a % 2 == 1])))