#C++1631——蓝桥杯算法训练VIP-数位分离(栈) 摘要:解题思路: 题本身很简单,只是刚好可以用到栈的知识,练习一下注意事项: 栈的出入顺序参考代码:#include <iostream> #include <stack> using namespac…… 题解列表 2022年07月30日 0 点赞 0 评论 434 浏览 评分:0.0
#C++1562——蓝桥杯算法提高VIP-计算时间(慢悠悠的cin,cout) 摘要:解题思路: 思路可以参考注释注意事项: 这题与2609差不多,这里是多组,且数据很大,不过此题输出格式上C语言风格的更简单,但是cin和cout输入输出效率太慢,慢7倍左右,会超时,2609链接:ht…… 题解列表 2022年07月30日 0 点赞 0 评论 516 浏览 评分:0.0
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int t = 0; double h = 0; double sum = 0; i…… 题解列表 2022年07月30日 0 点赞 0 评论 269 浏览 评分:0.0
python--倒叙解法 摘要:解题思路:从后往前推,计算从每个位置开始的可以拦截的最多的 导弹数注意事项:无参考代码:tall = list(map(int, input().split()))tall.reverse()max_…… 题解列表 2022年07月30日 0 点赞 0 评论 583 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 2; int n = 0; int sum = 1; scan…… 题解列表 2022年07月30日 0 点赞 0 评论 344 浏览 评分:0.0
编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int num = 0; sca…… 题解列表 2022年07月30日 0 点赞 0 评论 450 浏览 评分:0.0
编写题解 1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0, j = 0; for(i = 1; i <= 9; i++) …… 题解列表 2022年07月30日 0 点赞 0 评论 378 浏览 评分:0.0
2256: 蓝桥杯算法提高-成绩排名 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>typedef struct score{ char name[100]; int sc; }sco…… 题解列表 2022年07月30日 0 点赞 0 评论 801 浏览 评分:0.0
编写题解 1060: 二级C语言-同因查找 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0; for(i = 10; i <= 1000; i++) { …… 题解列表 2022年07月30日 0 点赞 0 评论 273 浏览 评分:0.0
编写题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num[20]; int i = 0, j = 0, z = 0; double…… 题解列表 2022年07月30日 0 点赞 0 评论 334 浏览 评分:0.0