优质题解 蓝桥杯算法提高VIP-夺宝奇兵-题解(C++代码) ```cpp/*题目描述在一座山上,有很多很多珠宝,它们散落在山底通往山顶的每条道路上,不同道路上的珠宝的数目也各不相同.下图为一张藏宝地图:738810274445265”夺宝奇兵”从山下出发,到达山顶,如何选路才能得到最多的珠宝呢?在上图所示例子中, 题解列表 2020年04月15日 0 点赞 2 评论 1588 浏览 评分:8.0
IP判断-题解(C语言代码) 摘要: #include #include int main() { char s[35]={0}; while(scanf("%s"…… 题解列表 2020年04月16日 0 点赞 0 评论 1578 浏览 评分:8.0
[C语言训练ctype.h中的int tolower(int c)大写字符转换为小写字符 ```c#include#includeintmain(){intc;while((c=getchar())!=EOF){putchar(tolower(c));}return0;}``` 题解列表 2020年04月16日 0 点赞 0 评论 963 浏览 评分:8.0
C语言训练-字符串正反连接 (C语言描述) 摘要:```c #include #include int main() { char s1[100],s2[100]; scanf("%s",s1); int i,j…… 题解列表 2020年04月17日 0 点赞 0 评论 1427 浏览 评分:8.0
[编程入门]带参数宏定义练习-题解(C语言代码)【不用多定义一个变量】 这题我看了多数人的题解,发现还有可以该进的地方。话不多说,上代码。```c#include#defineEXCHANGE(a,b)a=a+b;b=a-b;a=a-b;intmain(){inta,b;scanf("%d%d",&a,&b);EXCHANGE(a, 题解列表 2020年04月17日 0 点赞 0 评论 1117 浏览 评分:8.0
日期换算-题解(C语言代码)菜鸟暴力 摘要: #include int main() { int month; int date; scanf("%d%d",&m…… 题解列表 2020年04月17日 0 点赞 0 评论 1284 浏览 评分:8.0
[编程入门]结构体之时间设计-题解(C语言代码) ```c#includestruct{intyear;intmoonth;intday;}day;intmain(){intsum=0;scanf("%d%d%d",&day.year,&day.moonth,&day.day);if((day.year%4==0&&day.year%100!=0)| 题解列表 2020年04月17日 0 点赞 0 评论 863 浏览 评分:8.0
C语言训练-迭代法 摘要:```c #include int main() { int n,a=1,b=1,temp; scanf("%d",&n); printf("%d ",a); …… 题解列表 2020年04月18日 0 点赞 0 评论 1191 浏览 评分:8.0
C语言训练-仅供参考 摘要:```c #include int main() { int n,max; scanf("%d",&n); max=n; while(n!=-1){ …… 题解列表 2020年04月18日 0 点赞 0 评论 1041 浏览 评分:8.0
蓝桥杯算法提高VIP-我们的征途是星辰大海-模拟+读题 摘要:```cpp /* 题目描述 最新的火星探测机器人curiosity被困在了一个二维迷宫里,迷宫由一个个方格组成。 共有四种方格: ‘.’ 代表空地,curiosity可以穿过它 ‘#’…… 题解列表 2020年04月18日 0 点赞 0 评论 1341 浏览 评分:8.0