大神方法
2025-03-29 18:37:41
发布于:北京
1阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main() {
int a,he=0;
for(int i=20;i<=50;(i*=2)-=10)
{
cin>>a;
he+=a*i/100;
}
cout<<he;
return 0;
}
```cpp
这里空空如也
2025-03-29 18:37:41
发布于:北京
#include <iostream>
using namespace std;
int main() {
int a,he=0;
for(int i=20;i<=50;(i*=2)-=10)
{
cin>>a;
he+=a*i/100;
}
cout<<he;
return 0;
}
```cpp
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个