题解列表

筛选

1072: 汽水瓶

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

1073: 弟弟的作业

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

1074: 数字整除

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int maxn=100+20;char s[maxn];int mai……

1075: 台球碰撞

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define pi 3.1415 using namespace std;int L, W,x, y, R,a, v, s……

1100: 采药-动态规划

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m,a[10000],b[10000],f[1005]; i……

1102: 明明的随机数

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

公约公倍 题解

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