#include /iostream/
using namespace std;
int main() {
int a = 0, b = 0, n, s = 0, t = 0;
cin >> n;
for (int i = 1; i <= n; i++) {
cin >> s >> t;
if (s > t)
a = a + 3;
else if (s = t)
a++;
else
a = a + 0;
}
cout<<a;
return 0;}
共 1 条回复
else if (s = t)
这条代码错了