题解列表
C语言训练-求矩阵的两对角线上的元素之和
摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int i[11][11],n;int main(){ cin>>n; for(……
自定义函数之字符串连接 题解(超简单)(c++)
摘要:解题思路:就不是直接输出两个字符串嘛!套个字符串。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;void zh(s……
[编程入门]有规律的数列求和
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long n……
二级C语言-计负均正
摘要:解题思路:模拟注意事项:要用double参考代码:#include<bits/stdc++.h>using namespace std;long long a,fs;double zs,zh;int ……
二级C语言-公约公倍
摘要:解题思路:直接求注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ cin>>a>>b; fo……
自定义函数之字符串反转 (c++的string 简单)
摘要:解题思路:就用字符串倒过来输出就可以了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>……
二级C语言-同因查找
摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main(){ for(int i=10;i<=……
蓝桥杯算法提高VIP-三个整数的排序 题解
摘要:解题思路:这题就是sort排序后,坑了个从小到大,也可以用cmp。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];in……