编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:while True: try: a=input() for i in a: 题解列表 2022年02月19日 0 点赞 2 评论 663 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int i=0; char s[8000]; void f(int n) { …… 题解列表 2022年02月19日 0 点赞 0 评论 321 浏览 评分:0.0
平面切分(C++) 摘要:```cpp #include using namespace std; const int N=1005; set line; int a[N],b[N],ans=1; int calc…… 题解列表 2022年02月19日 0 点赞 0 评论 1312 浏览 评分:9.9
[编程入门]链表合并 摘要:```cpp #include #include typedef struct student{ int id; int score; }student; //链表 …… 题解列表 2022年02月19日 0 点赞 0 评论 519 浏览 评分:0.0
蓝桥杯2013年第四届真题-带分数(java代码) 摘要:解题思路:因为要用1-9的每个数字组成带分数,所以创建一个包含1-9的数组,进行全排列,然后再对排列的情况进行组合,组合过后比较是否等于输入的数。注意事项:参考代码:import java.util.…… 题解列表 2022年02月19日 0 点赞 0 评论 536 浏览 评分:9.9
编写题解 1197: 发工资咯 摘要:解题思路:注意事项:参考代码:while True: ls=list(map(int,input().split())) if ls[0]==0: break …… 题解列表 2022年02月19日 0 点赞 0 评论 448 浏览 评分:9.9
弟弟的作业(C++) 摘要:**解题思路:** 算式答案可能为 字符 "?" ,也可能是数字,所以在进行正确判断前,要将字符型转化为整型 运用库函数 atoi(s.s_str()),可以将字符串(string或者char[]…… 题解列表 2022年02月19日 0 点赞 1 评论 553 浏览 评分:9.9
1195: 去掉双斜杠注释 摘要:解题思路:注意事项:参考代码:while True: try: n=input() if n[0]=='/' and n[1]=='…… 题解列表 2022年02月19日 0 点赞 0 评论 417 浏览 评分:0.0
优质题解 1933: 蓝桥杯算法提高VIP-约数个数(算数基本定理) 摘要:解题思路:O(n)的算法很容易想到,正好刚学了数论,就写一个求约数的模板吧,它的时间复杂度是O(sqrt(n))根据算数基本定理,一个数可以分成多个质数相乘,例如60=2*2*3*5;而约数个数就是根…… 题解列表 2022年02月19日 0 点赞 1 评论 1181 浏览 评分:9.9
三维偏序(CDQ分治的代码) 摘要:[TOC] ### 吐槽下这道题(瞎讲) 卡常。 如果你 TLE 了请加这么两个优化: 1.手动 Ofast ```cpp #pragma GCC optimize("Of…… 题解列表 2022年02月19日 0 点赞 0 评论 226 浏览 评分:0.0