抢氵题题解也是抢到了/ww
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int main() {
int n, sum = 0;
cin >> n;
for (int i = 0; i < n; i ++) {
int x;
cin >> x;
if (x > 0) sum ++;
}
cout << sum << endl;
return 0;
}