結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
|
提出日時 | 2019-10-21 17:28:25 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 69 ms / 5,000 ms |
コード長 | 112 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 21,888 KB |
最終ジャッジ日時 | 2024-07-02 17:47:20 |
合計ジャッジ時間 | 1,004 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
N = int(input()) L = list(map(int, input().split())) A = len([a for a in L if a % 2 == 0]) print(abs(N - 2*A))