题解列表
(轻轻松松)宏定义练习之三角形面积
摘要:解题思路: 直接用它给的公式算起!注意事项: 要用开方!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int ……
简单易操作(学不会来cue我)
摘要:###我的思路
1. 使用结构体数组存储好学生的各项信息
2. 计算每科平均值
3. 比较学生总成绩
4. 输出每科成绩平均值以及最高分学生的信息(注意是各项信息而非单指成绩)
###注……
编写题解 2764: 带余除法
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; ……
2837: 年龄与疾病
摘要:```
#include
using namespace std;
int n[100000],a;
double q,w,e,r;
int main() {
cin>>a;
for……
解 3020: 最大数位置
摘要: #include
using namespace std;
const int N = 20000;
int a[N];
int i,w=0,c;
……
1098: 陶陶摘苹果
摘要:```cpp
#include
using namespace std;
int h[10],a;
int main(){
for( int i=1;i>h[i];
}
cin>>……
题解 2836: 数组逆序重放
摘要: #include
using namespace std;
const int N = 2e6;
int a[N];
int i;
int m……
纪念品分组 较为简单
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;int a[31111];int main(){ ……