結果

問題 No.99 ジャンピング駒
ユーザー tookunn_1213
提出日時 2015-05-28 20:49:51
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 133 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 7,068 KB
実行使用メモリ 14,868 KB
最終ジャッジ日時 2024-07-06 12:11:03
合計ジャッジ時間 981 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
x = map(int,raw_input().split())
ans = 0
for i in range(x):
	if i % 2 == 0:
		ans +=1
	else:
		ans -=1
print ans
0