結果

問題 No.99 ジャンピング駒
ユーザー aa
提出日時 2023-10-28 13:38:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 240 ms
コンパイル使用メモリ 11,800 KB
実行使用メモリ 20,864 KB
最終ジャッジ日時 2023-10-28 13:38:44
合計ジャッジ時間 2,012 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
20,816 KB
testcase_01 AC 83 ms
20,816 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 84 ms
20,816 KB
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

x=int(input())
data = list(map(int,input().split()))
c=0

for i in range(x):
  if data[i]%2==0:
    c+=1
  else:
    c-=1

print(c)
0