蓝桥杯算法训练VIP-传球游戏 (C语言代码)--------C语言——菜鸟级 摘要:解题思路:通过 动态规划 实现 进行某次传球 每位同学可能得球的方法为上次左右同学可能得球的方法之和 因为要得球 必须上次传球后左右同学手上有球才有可能传到; 0 1 2 3 4(1) 0 1相当于1…… 题解列表 2019年01月20日 6 点赞 0 评论 2250 浏览 评分:9.9
字符串问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0};char b[100]={0};int…… 题解列表 2019年01月20日 0 点赞 0 评论 1208 浏览 评分:0.0
敲七游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int num1(int m);int num2(int m); //函数声明 int num3(int m…… 题解列表 2019年01月20日 0 点赞 0 评论 2012 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; int s,i…… 题解列表 2019年01月20日 6 点赞 0 评论 1563 浏览 评分:0.0
ACM水题 之 大神老白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a,num; while(~scanf("%d",&a)) { int su…… 题解列表 2019年01月19日 0 点赞 0 评论 1535 浏览 评分:0.0
ACM水题 之 妹子杀手的故事 (C语言代码) 摘要:解题思路:多选输入:while(~scanf("%d%d",&a,&b));结束条件a为0 ,b为0。注意事项:参考代码:#include <stdio.h> int main() { int…… 题解列表 2019年01月19日 0 点赞 0 评论 1366 浏览 评分:0.0
P1000 (一句代码不用写!) 摘要:解题思路:真的一句代码不用写,编辑器默认的代码复制过来就能用。注意事项:学会复制粘贴就可以。参考代码:#include<stdio.h> int main() { int a,b; …… 题解列表 2019年01月19日 0 点赞 0 评论 1409 浏览 评分:6.7
优质题解 蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路:本题要求: 各组的核桃数量必须相同 2. 各组内必须能平分核桃(当然是不能打碎的) 3. 尽量提供满足1,2条件的最小数量(节约闹革命嘛) 注意事项:综上所述知本题的实质是求三个数的最…… 题解列表 2019年01月19日 1 点赞 1 评论 1711 浏览 评分:9.9
蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n,a; while(scanf("%d", &n) != EOF){ a = 0; f…… 题解列表 2019年01月19日 0 点赞 0 评论 1182 浏览 评分:0.0
The 3n + 1 problem (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,l,r,n; int max,count,flag; while(~scanf("%d %d",…… 题解列表 2019年01月19日 0 点赞 0 评论 702 浏览 评分:0.0