結果
| 問題 | No.99 ジャンピング駒 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-05 14:47:35 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 116 ms / 5,000 ms |
| + 171µs | |
| コード長 | 118 bytes |
| 記録 | |
| コンパイル時間 | 818 ms |
| コンパイル使用メモリ | 21,340 KB |
| 実行使用メモリ | 25,108 KB |
| 最終ジャッジ日時 | 2026-09-01 19:56:54 |
| 合計ジャッジ時間 | 3,188 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))