C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:解题思路:冒泡法注意事项:参考代码:int f[10]; int i,n,k,temp; for(i=0;i<10;i++) { scanf("%d",&f[i]); …… 题解列表 2019年01月19日 0 点赞 0 评论 590 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:把输入字符看作是数组来解;参考代码:#include<stdio.h>int main(){char a[4];int i,t;scanf("%s",&a);for(i=0,t=0;i<5;…… 题解列表 2019年01月19日 0 点赞 0 评论 688 浏览 评分: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 评论 500 浏览 评分:0.0
蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n,a; while(scanf("%d", &n) != EOF){ a = 0; f…… 题解列表 2019年01月19日 0 点赞 0 评论 810 浏览 评分:0.0
优质题解 蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路:本题要求: 各组的核桃数量必须相同 2. 各组内必须能平分核桃(当然是不能打碎的) 3. 尽量提供满足1,2条件的最小数量(节约闹革命嘛) 注意事项:综上所述知本题的实质是求三个数的最…… 题解列表 2019年01月19日 1 点赞 1 评论 1280 浏览 评分:9.9
P1000 (一句代码不用写!) 摘要:解题思路:真的一句代码不用写,编辑器默认的代码复制过来就能用。注意事项:学会复制粘贴就可以。参考代码:#include<stdio.h> int main() { int a,b; …… 题解列表 2019年01月19日 0 点赞 0 评论 1024 浏览 评分:6.7
ACM水题 之 妹子杀手的故事 (C语言代码) 摘要:解题思路:多选输入:while(~scanf("%d%d",&a,&b));结束条件a为0 ,b为0。注意事项:参考代码:#include <stdio.h> int main() { int…… 题解列表 2019年01月19日 0 点赞 0 评论 979 浏览 评分:0.0
ACM水题 之 大神老白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a,num; while(~scanf("%d",&a)) { int su…… 题解列表 2019年01月19日 0 点赞 0 评论 1129 浏览 评分:0.0
震宇大神的杀毒软件 (C++代码) 摘要:解题思路:C++Vector容器求解。注意事项:参考代码:#include <iostream> #include <algorithm> #include <vector> using nam…… 题解列表 2019年01月19日 0 点赞 0 评论 1248 浏览 评分:7.6
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; int s,i…… 题解列表 2019年01月20日 6 点赞 0 评论 1196 浏览 评分:0.0