結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
![]() |
提出日時 | 2019-01-17 11:02:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 90 ms / 5,000 ms |
コード長 | 157 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 21,860 KB |
最終ジャッジ日時 | 2024-07-01 06:54:33 |
合計ジャッジ時間 | 1,355 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
n = int(input()) x = [int(x) for x in input().split()] even = 0 for xi in x: if xi % 2 == 0: even += 1 res = abs(len(x) - 2 * even) print(res)