题解列表

筛选

2018: 飞奔的马

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

c++最简单方法—递归

摘要:解题思路:每次刷新需要判断回文的数,进入下次递归进行判断注意事项:输出一次res就要给他重新刷新为0参考代码:#include<iostream>using namespace std;int  re……

编写题解 1670: 拆分位数(c++)

摘要:解题思路:利用数组来进行倒序输出注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3]; int n; cin >> ……

2017: 猜价模拟

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

2012: 百分制成绩转换

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int arr[5]={0},arr1[100]……

2009: 第一个带类的C++程序

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; class Data { public:     void Set(string……

苹果与虫子题解

摘要:解题思路:无注意事项:if那里要写两个等于号哦参考代码:#include<iostream>using namespace std;int main(){   int x,y,n;   cin>>n>……

2008: C++函数重载练习

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<bits/stdc++.h> using namespace std; v……