結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
|
提出日時 | 2022-02-27 23:25:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 74 ms / 5,000 ms |
コード長 | 139 bytes |
コンパイル時間 | 256 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 89,856 KB |
最終ジャッジ日時 | 2024-07-06 00:44:16 |
合計ジャッジ時間 | 1,246 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
N = int(input()) x_pos = list(map(int, input().split())) odd_x = [x for x in x_pos if x % 2 != 0] print(abs(len(x_pos) - 2 * len(odd_x)))