C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a, b, c, i; float S = 0; sc…… 题解列表 2019年02月28日 0 点赞 0 评论 638 浏览 评分:0.0
蓝桥杯算法提高VIP-Lots of Sunlight (C++代码) 摘要:解题思路:对于任意一个给定的房间,以下图中第2栋楼的202室为例,在太阳位于正上方的时候肯定可以完全被阳光照射。在这之前有一一个刚开始被照射的最小角度,最小角度取决于这栋楼左边的楼房对太阳光的遮挡。对…… 题解列表 2019年02月28日 0 点赞 0 评论 1403 浏览 评分:6.0
数据结构-堆排序 (C++代码) 摘要:解题思路:纯正堆排,纯天然,0添加注意事项:参考代码:#include <iostream> #include <stdio.h> using namespace std; void s…… 题解列表 2019年02月28日 0 点赞 0 评论 964 浏览 评分:8.0
管理学院的人数 (C语言代码) 摘要:解题思路: sum的简单用法注意事项: 取值范围参考代码:#include<stdio.h>int main() { int m; do { scanf("%d",&m); } while(m<…… 题解列表 2019年02月28日 0 点赞 0 评论 918 浏览 评分:0.0
管理学院的人数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,m,n,sum=0; do{ scanf("%d",&m); }while(m<=0||m>=2…… 题解列表 2019年02月28日 1 点赞 0 评论 782 浏览 评分:0.0
上车人数 (C语言代码)懒人的穷举法 摘要:#include <stdio.h> int main() { int a,n,m,x; scanf("%d %d %d %d",&a,&n,&m,&x); int …… 题解列表 2019年02月28日 2 点赞 1 评论 588 浏览 评分:0.0
求平方和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,s; scanf("%d %d",&i,&j); s=i*i+j*j; …… 题解列表 2019年02月28日 0 点赞 1 评论 741 浏览 评分:6.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:结合了几个题解可以参考注意事项:参考代码:#include<stdio.h>#include <math.h>int fun(int);int main(){ int i,n,num,…… 题解列表 2019年02月28日 1 点赞 0 评论 935 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:答案是对的,其中有什么不足,欢迎大家指正。注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000],…… 题解列表 2019年02月28日 0 点赞 0 评论 844 浏览 评分:0.0
蓝桥杯算法训练VIP-传球游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n,max=0,m;int chuan(int q,int p){ if(q==0)q=n; if(q==n+1)q=1; if…… 题解列表 2019年02月28日 0 点赞 0 评论 713 浏览 评分:0.0