結果
| 問題 |
No.99 ジャンピング駒
|
| コンテスト | |
| ユーザー |
あかりき
|
| 提出日時 | 2021-02-08 08:53:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 67 ms / 5,000 ms |
| コード長 | 132 bytes |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 82,224 KB |
| 実行使用メモリ | 85,628 KB |
| 最終ジャッジ日時 | 2024-07-05 05:18:32 |
| 合計ジャッジ時間 | 1,780 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
n=int(input())
l=list(map(int,input().split()))
a=0;b=0
for i in range(n):
if l[i]%2==0:
a+=1
else:
b+=1
print(abs(a-b))
あかりき