分类计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",(a*a+b*b) > …… 题解列表 2019年02月23日 0 点赞 0 评论 1286 浏览 评分:0.0
。。简化了一下。。:与2无关的数 (C语言代码) 摘要:#include<stdio.h> int main() { int n,i,sum,k; scanf("%d",&n); for(sum=0,i=1;i<=n;i++) { …… 题解列表 2019年02月23日 1 点赞 0 评论 1643 浏览 评分:0.0
数据结构-归并排序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <iostream> #include <memory.h> #include <cstring> #in…… 题解列表 2019年02月24日 0 点赞 0 评论 2207 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.4 (C语言代码) 摘要:解题思路: 1.判断闰年先看能不能被4整除。True:进行下一步判断;False:断定为平年 2.判断该年份是不是百年。 True:进行下一步判断;Fals…… 题解列表 2019年02月24日 0 点赞 0 评论 995 浏览 评分: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 评论 493 浏览 评分: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 评论 807 浏览 评分:0.0
密码截获 (C语言代码) 摘要:解题思路:注意事项:#include<stdio.h> #include<string.h> #include<stdlib.h> int main() { char …… 题解列表 2019年02月24日 0 点赞 0 评论 1217 浏览 评分: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 评论 1423 浏览 评分:0.0
母牛的故事 有规律(斐波那契数列) 摘要:解题思路:嗯。。。先把每个数据都打到数组里去,要用就直接取注意事项:1、这个得先找出规律:a[n]=a[n-1]+a[n-3],n>=4。 2、不知道什么是斐波那契数列的…… 题解列表 2019年02月24日 0 点赞 0 评论 1578 浏览 评分:0.0
纪念品分组 (C++代码) 摘要:参考代码:#include <iostream>using namespace std;void quick_sort(int a[],int begin,int end)//数组排序函数 { if(…… 题解列表 2019年02月24日 0 点赞 0 评论 909 浏览 评分:0.0