結果
問題 |
No.99 ジャンピング駒
|
ユーザー |
|
提出日時 | 2015-05-29 22:53:28 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 423 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 14,928 KB |
最終ジャッジ日時 | 2024-07-06 11:49:01 |
合計ジャッジ時間 | 1,472 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 6 |
ソースコード
# -*- coding:utf-8 -*- if __name__ == "__main__": n = input() x = map(int,raw_input().split()) x.sort() ans = 0 for i in x: if x % 2 == 1: ans += 1 else: ans -= 1 print abs(ans)