题解列表

筛选

1087两数加和求解

摘要:解题思路:用for语句循环,break跳出循环注意事项:注意for循环的循环截止条件参考代码:#include<iostream>using namespace std;int main(){    ……

2062: [STL训练]第二小整数

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

2059: [STL训练]sort练习

摘要:解题思路:注意事项:参考代码:sort排序从后向前输出#include<bits/stdc++.h> int main() {     int m,n;     int arr[1000]; ……

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