結果
問題 | No.99 ジャンピング駒 |
ユーザー |
|
提出日時 | 2018-01-07 01:14:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 91 ms / 5,000 ms |
コード長 | 140 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,732 KB |
最終ジャッジ日時 | 2024-12-23 09:20:56 |
合計ジャッジ時間 | 1,548 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
n=int(input())x=[int(x) for x in input().split()]even=[i for i in x if i%2==0]odd=[i for i in x if i%2==1]print(abs(len(even)-len(odd)))