C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:答案是对的,其中有什么不足,欢迎大家指正。注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000],…… 题解列表 2019年02月28日 0 点赞 0 评论 752 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:结合了几个题解可以参考注意事项:参考代码:#include<stdio.h>#include <math.h>int fun(int);int main(){ int i,n,num,…… 题解列表 2019年02月28日 1 点赞 0 评论 830 浏览 评分: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 评论 678 浏览 评分:6.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 评论 537 浏览 评分: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 评论 688 浏览 评分:0.0
管理学院的人数 (C语言代码) 摘要:解题思路: sum的简单用法注意事项: 取值范围参考代码:#include<stdio.h>int main() { int m; do { scanf("%d",&m); } while(m<…… 题解列表 2019年02月28日 0 点赞 0 评论 808 浏览 评分:0.0
数据结构-堆排序 (C++代码) 摘要:解题思路:纯正堆排,纯天然,0添加注意事项:参考代码:#include <iostream> #include <stdio.h> using namespace std; void s…… 题解列表 2019年02月28日 0 点赞 0 评论 844 浏览 评分:8.0
蓝桥杯算法提高VIP-Lots of Sunlight (C++代码) 摘要:解题思路:对于任意一个给定的房间,以下图中第2栋楼的202室为例,在太阳位于正上方的时候肯定可以完全被阳光照射。在这之前有一一个刚开始被照射的最小角度,最小角度取决于这栋楼左边的楼房对太阳光的遮挡。对…… 题解列表 2019年02月28日 0 点赞 0 评论 1214 浏览 评分:6.0
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 评论 545 浏览 评分:0.0
C语言训练-委派任务* (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool fun1(int a,int b){ if(a+b>=1) return true…… 题解列表 2019年03月01日 0 点赞 1 评论 1580 浏览 评分:0.0