結果
| 問題 |
No.99 ジャンピング駒
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-05 14:47:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 5,000 ms |
| コード長 | 118 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,628 KB |
| 最終ジャッジ日時 | 2024-09-21 18:30:14 |
| 合計ジャッジ時間 | 1,248 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
n = int(input()) x = list(map(int, input().split())) e = len([i for i in x if i % 2 == 0]) o = n - e print(abs(e-o))