题解列表

筛选

1068: 二级C语言-温度转换

摘要:直接循环打印。#include<bits/stdc++.h> using namespace std;   int main(){     int C;     double F;    ……

1066: 二级C语言-自定义函数

摘要:直接使用pow()函数即可解决。#include<bits/stdc++.h> using namespace std; double fact(int &n){     double su……

数列排序(C++)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> #include<cstdio> using namespace std; vector<……

1071: 二级C语言-阶乘公式求值

摘要:注意 fact 函数的返回值类型是 double。(不是 double 的话 100 的测试值无法通过)#include<bits/stdc++.h> using namespace std;  ……

1067: 二级C语言-分段函数

摘要:#include<bits/stdc++.h> using namespace std;   int main() {     double x;     cin >> x;     if……