编写题解 1007: [编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:x=eval(input()) if x <1: print(x) elif x>=1 and x<10: print(2*x-1) elif …… 题解列表 2022年05月02日 0 点赞 0 评论 618 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:解题思路:首先题目中给出了工作日和双休日写的数目,以及总共的题量,由于最大限制已经到达10的18次方,所以需要用long long int类型,同时由于数很大,很容易造成超限,所以不能从第一天开始,一…… 题解列表 2022年05月02日 0 点赞 0 评论 793 浏览 评分:0.0
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:本地可以通过编程,但是在这里提交后有17%的错误,我也不知道问题出在哪里.......参考代码:N = eval(input())ls = [input().split()]whi…… 题解列表 2022年05月02日 0 点赞 0 评论 436 浏览 评分: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 评论 427 浏览 评分:0.0
1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; char x; in…… 题解列表 2022年05月02日 0 点赞 0 评论 371 浏览 评分: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 评论 376 浏览 评分: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 评论 391 浏览 评分: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 评论 315 浏览 评分: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 评论 321 浏览 评分:0.0
编写题解 1562: 蓝桥杯算法提高VIP-计算时间 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdio.h> using namespace std; int main() { …… 题解列表 2022年05月02日 0 点赞 0 评论 482 浏览 评分:0.0