题解列表
1156: C语言训练-阿姆斯特朗数--讲好两个空格的呢?
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int j,sum; for (int i = 2;i<1000;i++) {……
迭代法求平方根 自定义函数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>double a[100];double h(double a[],double n){ int i; a[0]=n/2.0……
1728: 字符串的查找删除 来看看吧 万一看懂了呢
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
void f(string x){
// 遍历字符串的每一个字符
……
: 二级C语言-分段函数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double h(double x){ if(x<0) { return fa……
二级C语言-温度转换
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[51];int b[51];int main(){ a[0]=-100; for(int i=0; i<51; ……
1739: 成绩排序 sort+结构体 包看懂
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义结构体xs,包含三个成员变量:字符串x、整数y和整数z
stru……