結果

問題 No.99 ジャンピング駒
ユーザー tookunn_1213tookunn_1213
提出日時 2015-05-28 20:51:15
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 126 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 6,544 KB
実行使用メモリ 14,612 KB
最終ジャッジ日時 2023-09-20 17:10:56
合計ジャッジ時間 1,267 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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 ans
0