0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-14 03:58:48 +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;
}