蓝桥杯2018年第九届真题-递增三元组-题解(C语言代码) 摘要:```c #include int arr[3][100000]; int main() { int i, j, k, n, cnt = 0; scanf("%d", &n); f…… 题解列表 2020年01月01日 0 点赞 0 评论 832 浏览 评分:6.0
成绩排序-题解(C语言代码)满分题解!! 摘要: #include #include struct student{ int age; int score; c…… 题解列表 2020年01月01日 0 点赞 5 评论 832 浏览 评分:8.3
1676题链表的基本操作-题解(C语言代码)满分题解!! 摘要: #include #include #include typedef struct node_ { int d…… 题解列表 2020年01月01日 0 点赞 0 评论 1520 浏览 评分:6.0
字符串编辑-题解(C语言代码)满分题解!! 摘要: #include #include int main() { char s[50]; char order,c1,c2; …… 题解列表 2020年01月01日 0 点赞 0 评论 1416 浏览 评分:9.9
采药-题解(C语言代码)时空复杂度低且简单易懂, 摘要:```c #include #define max(x,y) (x) > (y) ? (x) : (y) //对于每株草药有不采此株草药和采此株草药两种情况; //不采此株草药的价值总和 = …… 题解列表 2020年01月01日 0 点赞 5 评论 1810 浏览 评分:9.8
【亲和数】-题解(Java代码) 摘要:```java import java.util.Scanner; public class Demo1157 { public static void main(String[]…… 题解列表 2020年01月01日 0 点赞 0 评论 921 浏览 评分:0.0
蓝桥杯算法提高-能量项链-题解(Python代码)不需要dp啊。。。。 摘要:老规矩,先上代码: ```python N=int(input()) L=input().split() for i in range(len(L)): L[i]=int(L[i]) r…… 题解列表 2020年01月01日 0 点赞 2 评论 740 浏览 评分:8.3
[编程入门]原码求补码-题解(C++代码) 摘要:# 思路 正数,不变。 负数,符号位不变,其余位取反加一。 # 代码 ```cpp #include #include int main() { std::string s…… 题解列表 2020年01月01日 0 点赞 0 评论 724 浏览 评分:0.0
IP判断-题解(C++代码) 摘要:解题思路: 1.以.为界线,将整个字符串划分为4个小字符串 2.sislegal()函数用于判断小字符串是否和合法 3.qiepian()函数用于对整个字符串切片成小字符…… 题解列表 2020年01月02日 0 点赞 0 评论 939 浏览 评分:9.3
蓝桥杯2014年第五届真题-兰顿蚂蚁 (Python代码)python开荒柘 摘要:直接上代码,AC(太不容易了,调了半天) ```python def turn_and_move(p,d): global L,direction k=direction.index(d)…… 题解列表 2020年01月02日 0 点赞 0 评论 985 浏览 评分:6.0