题解列表

筛选

C++求1+2!+3!+...+N!的和

摘要:两次解决第一次是int类型,导致越界 改成long long 即可 ```cpp #include using namespace std; typedef long long ll;……

编写题解 2004: 统计成绩

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a[10];    for(int i=0;i<10;i……

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……