- 分享
1
- 2024-1-30 11:38:55 @
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a=0,b=0,h=0;
cin>>a;
for(int i=1;i<6;i++)
{
cin>>b;
if(b<a)
{
h=h+b;
}
}
cout<<h;
return 0;
}
0 comments
No comments so far...