题解列表

筛选

c++字符串简单解法

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

1869: 鸡兔同笼(多组输入)

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

1872: 春夏秋冬季节判断

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

floyd算法,代码简介明了

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;const int N……
优质题解

N以内累加求和(c++代码)

摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,……
优质题解

求1+2+3+...+n的值(C++代码)

摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,……

1951: 求平方和

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