http://codeforces.com/problemset/problem/282/A
生詞:
peculiar a.奇怪的
execute vt.處決,使生效
題面:
太水悴能,不想說虑粥。
// codeforces
// 282A
// implementation
#include <iostream>
#include <string>
using namespace std;
int main() {
int n, val = 0;
cin >> n;
string s;
while (n--) {
cin >> s;
if (s == "X++" || s == "++X")
val++;
else
val--;
}
cout << val;
return 0;
}