校门外的树 C:注意细节,问题不难,别被吓到 摘要:解题思路: 利用一维数组与数轴相似的特点进行操作,化实际为抽象注意事项: 1、注意审题,是从0到L,所以最多有10001颗树。 …… 题解列表 2019年02月24日 0 点赞 2 评论 1273 浏览 评分:9.9
母牛的故事 有规律(斐波那契数列) 摘要:解题思路:嗯。。。先把每个数据都打到数组里去,要用就直接取注意事项:1、这个得先找出规律:a[n]=a[n-1]+a[n-3],n>=4。 2、不知道什么是斐波那契数列的…… 题解列表 2019年02月24日 0 点赞 0 评论 1509 浏览 评分:0.0
小明A+B (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int M,A,B; scanf("%d",&M); while(M--) { sc…… 题解列表 2019年02月24日 0 点赞 0 评论 1355 浏览 评分:0.0
密码截获 (C语言代码) 摘要:解题思路:注意事项:#include<stdio.h> #include<string.h> #include<stdlib.h> int main() { char …… 题解列表 2019年02月24日 0 点赞 0 评论 1078 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:int main(){ int a=0,n,Sn=0; scanf("%d",&n); for(n;n>0;n--) { a=10*a+2; Sn+=a; } pri…… 题解列表 2019年02月24日 0 点赞 0 评论 755 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码)(求助) 摘要:解题思路:不知道为什么会超时,求大神帮助。注意事项:参考代码#include<stdio.h>int main(){ char str[1000],ch,i,j=0,count=0; …… 题解列表 2019年02月24日 0 点赞 1 评论 442 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和 (C语言代码) 摘要: //解题思路:键盘读入 ,链表存储 ,遍历链表, 复数相加在输出函数里完成 //注意事项:照着题目来 初始化那个temp头结点,输出函数那个temp就是个临时结点 …… 题解列表 2019年02月24日 1 点赞 0 评论 2758 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题9.4 (C语言代码) 摘要:解题思路: 1.判断闰年先看能不能被4整除。True:进行下一步判断;False:断定为平年 2.判断该年份是不是百年。 True:进行下一步判断;Fals…… 题解列表 2019年02月24日 0 点赞 0 评论 875 浏览 评分:0.0
数据结构-归并排序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <iostream> #include <memory.h> #include <cstring> #in…… 题解列表 2019年02月24日 0 点赞 0 评论 2079 浏览 评分:0.0
。。简短。。:三位数反转 (C语言代码)只有3行。。可AC 摘要:反转时如果是100之类的,要转成001。#include<stdio.h> int main() { int n; while(scanf("%d",&n)!=EOF) print…… 题解列表 2019年02月23日 1 点赞 5 评论 2591 浏览 评分:9.5