0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-19 23:45:25 +00:00
OI-codes/AcWing/712/712.cpp

15 lines
241 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
double x;
int ans = 0;
for (int i = 1; i <= 6; i++) {
cin >> x;
if (x > 0) ans++;
}
cout << ans << " positive numbers" << endl;
return 0;
}