题解列表

筛选

编写题解 3001: 整数的和

摘要:解题思路:1、创建三个变量2、输入三个变量3、输出他们的和参考代码:#include<iostream> using namespace std; int main (){     int a,……

1131(简单c++)

摘要:解题思路:此题无须使用数组;我们首先定义变量:int k,sum; int f1 = 1, f2 = 1;分三种情情况论if (k == 2) {   //1  } if (k == 1) ……

计算么多项式的值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x,n,sum=1;    cin>>……

题解 2825: 计算多项式的值

摘要:参考代码:#include <bits/stdc++.h> using namespace std; int main() {     double x ;     int n ;    ……

2825: 计算多项式的值

摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double x,a,c = 0;;    int n;    cin>>……

题解 2833:只因币

摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int sum=0,a=0 ;    int n ;    cin>>n……

编写题解 2749: Hello, World!

摘要:解题思路:1、输出注意事项:1、输出时注意符号不要漏掉参考代码:#include<iostream> using namespace std; int main (){cout<<"Hello, ……