結果
問題 | No.99 ジャンピング駒 |
ユーザー |
![]() |
提出日時 | 2015-09-25 18:47:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 91 ms / 5,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 195 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,532 KB |
最終ジャッジ日時 | 2024-07-19 09:15:46 |
合計ジャッジ時間 | 1,826 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
N = int(input())L = list(map(int, input().split()))T = 0for x in L:if abs(x) % 2 == 0:T += 1else:T -= 1print(abs(T))