题解列表

筛选

1024: [编程入门]矩阵对角线求和

摘要:解题思路:注意事项:小弟代码先奉上为敬:                                a = list(map(int,input().split()))b = list(map(i……

小白也能懂的入门代码

摘要:解题思路:注意事项:参考代码:for i in range(100,1000):    a,b,c=str(i)    if int(a)**3+int(b)**3+int(c)**3==int(i)……

排队打水c++版

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

同因查找 题解

摘要:解题思路:这题题就相识与韩信点兵!暴力判断!注意事项:要换行!参考代码:#include<bits/stdc++.h>using namespace std;int main(){    for(in……

猴子吃桃的问题

摘要:解题思路:求原来的桃子数,这题也就是逆推法。注意事项:s初始值为1。参考代码:#include<bits/stdc++.h>using namespace std;int n,s=1;int main……

温度转换 题解

摘要:解题思路:直接套公式!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double f;int main(){     scanf("%l……

公约公倍 题解

摘要:解题思路:这题就是求两个数的最大公约数和最小公倍数。我就直接用函数做!注意事项:在调用函数前别忘了加上“__”!参考代码:#include<bits/stdc++.h>using namespace ……