C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Y(a,b) t=a;a=b;b=t;int main(){int N,M,t;scanf("%d%d",&N,&M);…… 题解列表 2018年07月23日 0 点赞 0 评论 1125 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void total(char s[]){ int i,number=0,word=0,blank=0,other=0; for(i=0…… 题解列表 2018年07月23日 0 点赞 0 评论 791 浏览 评分:0.0
蓝桥杯算法提高VIP-身份证排序 (C语言代码) 摘要:解题思路:数字拆分注意事项:0也要输出参考代码:#include <stdio.h> #include <stdlib.h> #include <math.h> typedef struct {…… 题解列表 2018年07月23日 0 点赞 0 评论 2979 浏览 评分:6.0
优质题解 纪念品分组 (C语言代码) 摘要:解题思路:这一题关键在于两个纪念品价格的搭配,在组价格不超出规定价格的前提下,如何分组才能使组数尽量少、组内两个价格之和不大于规定价格?这需要按价格从小到大排序,首先取出价格最小的纪念品,拿它和价格最…… 题解列表 2018年07月23日 1 点赞 3 评论 3288 浏览 评分:8.8
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:一定要先判断是浮点数,定义float或是double;注意事项:要求是保留小数点两位,%0.2f或是%.2f或是%0.2lf或是%.2lf;还有c=5(f-32)/9要写成c=5*(f-32…… 题解列表 2018年07月22日 1 点赞 0 评论 924 浏览 评分:0.0
A+B for Input-Output Practice (I) (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] arg…… 题解列表 2018年07月22日 0 点赞 0 评论 932 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[80]; int i; while (gets(str)!=NULL) { i = 0; …… 题解列表 2018年07月22日 0 点赞 0 评论 1081 浏览 评分:0.0
可AC(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, min = 0; while (scanf("%d", &n) != EOF) { if (n)…… 题解列表 2018年07月22日 0 点赞 0 评论 1005 浏览 评分:0.0
可AC(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m, i, s, sum = 0; scanf("%d", &n); i = 1; while (…… 题解列表 2018年07月22日 0 点赞 0 评论 1081 浏览 评分:0.0
你绝对难以想象的方法(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("%d", 95959); return 0;}…… 题解列表 2018年07月22日 9 点赞 7 评论 884 浏览 评分:3.3