题解列表
题解 2837: 年龄与疾病
摘要: #include
using namespace std;
int a[100],c;
double b,sh,q,z,l;
int main(){
……
计算(a+b)*c的值(C++)
摘要:解题思路:用cin输入a,b,c 再用cout输出(a+b)*c学废了吗?注意事项:给孩子一个五星吧 求求了参考代码:#include <bits/stdc++.h>using namespace s……
2840: 向量点积计算
摘要:```
#include
using namespace std;
const int N=10000;
int n,a[N],b[N],c,sum;
int main() {
cin>……
题解 2835: 计算书费
摘要: #include
using namespace std;
int b,c;
double a[10]= { 28.9,32.7,45.6,78,35,86.2,……
[编程入门]报数问题(免箱新手)
摘要:解题思路:a数组记录数到哪一个号码了,吧数组用来判断该编号人员是否被淘汰;t用来计数1,2,3;i表示数到哪一个了。num33表示场上还剩余多少人。注意事项:当我们数到场上剩下的排在最后的人时要从头开……
1099: 校门外的树
摘要:```
#include
using namespace std;
int l,r,L[10001],n,m;
int main() {
cin>>n>>m;
for(int i=0;……
题解 1098: 陶陶摘苹果
摘要: #include
using namespace std;
int a[20000],b,c,sum;
int main(){
for(int i=0……