编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:本地可以通过编程,但是在这里提交后有17%的错误,我也不知道问题出在哪里.......参考代码:N = eval(input())ls = [input().split()]whi…… 题解列表 2022年05月02日 0 点赞 0 评论 358 浏览 评分:0.0
1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tt(int w){ int m,n,x,y,sum=0; m…… 题解列表 2022年05月02日 0 点赞 0 评论 334 浏览 评分:0.0
1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; char x; in…… 题解列表 2022年05月02日 0 点赞 0 评论 296 浏览 评分:0.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int maxn=100+20;char s[maxn];int mai…… 题解列表 2022年05月02日 0 点赞 0 评论 280 浏览 评分:0.0
1075: 台球碰撞 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define pi 3.1415 using namespace std;int L, W,x, y, R,a, v, s…… 题解列表 2022年05月02日 0 点赞 0 评论 286 浏览 评分:0.0
1100: 采药-动态规划 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m,a[10000],b[10000],f[1005]; i…… 题解列表 2022年05月02日 0 点赞 0 评论 254 浏览 评分:0.0
1102: 明明的随机数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int n,a[1005],t,s;int main() { cin>>n; fo…… 题解列表 2022年05月02日 0 点赞 0 评论 253 浏览 评分:0.0
编写题解 1562: 蓝桥杯算法提高VIP-计算时间 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdio.h> using namespace std; int main() { …… 题解列表 2022年05月02日 0 点赞 0 评论 343 浏览 评分:0.0
[编程入门]自定义函数处理素数 摘要:解题思路:直接判断是否为素数注意事项:sqrt!参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("…… 题解列表 2022年05月02日 0 点赞 0 评论 327 浏览 评分:0.0
公约公倍 题解 摘要:解题思路:这题就是求两个数的最大公约数和最小公倍数。我就直接用函数做!注意事项:在调用函数前别忘了加上“__”!参考代码:#include<bits/stdc++.h>using namespace …… 题解列表 2022年05月02日 0 点赞 0 评论 391 浏览 评分:0.0