题解列表

筛选

2775: 等差数列末项计算

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int a,b,n;     cin>>a>>……

Hello, World! 题解

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){cout << "Hello, World!" ;    return ……

A+B Problem 参考答案

摘要:解题思路:输入两个数。加起来。注意事项:加分号!参考代码:#include<iostream>using namespace std;int main(){    int a,b;    cin >>……

幂的末尾 参考答案

摘要:解题思路:取幂后三位,每次只需保留积后三位即可;注意事项: 无参考代码:#include<iostream>using namespace std;int main() {int a,b,c = 0;……

2767: 计算多项式的值

摘要:解题思路:先inta,b,c,d,x再带入就好注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c……

题解:1267: A+B Problem

摘要:解题思路:注意事项:不要打错参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<……
优质题解

保姆级教程(冒泡排序)

摘要:解题思路:冒泡排序;1.写好交换函数和判断函数                               2.在main函数中用new获取未知数组的大小并根据输入的数创建数组            ……

简简单单就解决直插排序

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

C++类的思想题解

摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s……

超级简洁版

摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(……