题解列表
蓝桥杯历届试题-回文数字,包看懂解法
摘要:#include"bits/stdc++.h"
using namespace std;
int main() {
int a,b=0,c,d,e,f,g,h;
cin>>a;……
蓝桥杯2014年第五届真题-分糖果,新手只会用循环超强解法!!!
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main()
{
int a,b[110]={0},c[……
1019: [编程入门]自由下落的距离计算(用了一点点C语言)
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std; int main(){ double m,n; ……
Hello,World(C++代码)
摘要:#include<iostream>
using namespace std;
int main(){
return 0;
}解题思路:无,上面的是标准头文件注意事项:几个星号需打参考代码……
小白,看看就行,不动脑袋
摘要:解题思路:注意事项:参考代码:小白菜鸟写的,看看就好#include<iostream>using namespace std;int main(){ int arr[1000]; int……
国王的烦恼——发工资,简单方法
摘要:解题思路:如果为6天,金币数为6-0+(6-0)-(0+1)+[(6-0)-(0+1)]-(0+1+1)=14,可推断出为n天时金币为(n-0)+(n-0)-(0+1)+[(n-0)-(0+1)]-(……
蓝桥基础练习-字符串对比,初学者暴力解法!
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义两个字符串变量s1和s2
……
每一行都有解析的c++代码。
摘要:参考代码:#include <bits/stdc++.h>//c++万能头文件using namespace std;//可以不写,不写的话,在用的地方前加std::int main() {//主函数……