結果
| 問題 |
No.99 ジャンピング駒
|
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-05-28 20:51:42 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 83 ms / 5,000 ms |
| コード長 | 131 bytes |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 14,996 KB |
| 最終ジャッジ日時 | 2024-07-06 12:11:16 |
| 合計ジャッジ時間 | 1,104 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
n = int(raw_input()) x = map(int,raw_input().split()) ans = 0 for i in x: if i % 2 == 0: ans +=1 else: ans -=1 print abs(ans)
tookunn_1213