0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 18:16:26 +00:00
Baoshuo Ren 2021-08-02 18:57:33 +08:00 committed by Baoshuo Ren
parent c62ff39d90
commit 10fb2c5154
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

14
AcWing/712/712.cpp Normal file
View File

@ -0,0 +1,14 @@
#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;
}