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;
}