剔除相关数 (C语言代码) 摘要:解题思路:我写的比较麻烦,本程序是用字符串数组保存各个数据,为保证最后输出正确,将开始的字符串赋值到另外一个字符串数组a于b里(且各个字符串数组的下标与相对应的数据要一致),将a与b的字符串进行排序,…… 题解列表 2017年08月28日 1 点赞 0 评论 1293 浏览 评分:0.0
时间转换 (Java代码) 摘要:解题思路:注意事项:用date类写不行吗?说我是运行错误的。代码仅供参考。参考代码:package s10;import java.text.SimpleDateFormat;import java.…… 题解列表 2017年08月28日 1 点赞 0 评论 929 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:#include <stdio.h>struct stu{ char name[50], num[50]; int a, b, c;};void input(struct stu *p){ scanf…… 题解列表 2017年08月28日 2 点赞 0 评论 1758 浏览 评分:4.0
简单的a+b (C语言代码) 摘要:解题思路:a+b注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) printf("%d\n…… 题解列表 2017年08月28日 0 点赞 0 评论 860 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[55]={0}; gets(str); …… 题解列表 2017年08月28日 0 点赞 0 评论 890 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[110]={0}; gets(str); …… 题解列表 2017年08月28日 2 点赞 7 评论 2634 浏览 评分:8.0
C语言训练-列出最简真分数序列* (C语言代码) 摘要:解题思路:分子与分母的最大公约数为1注意事项:参考代码:#include<stdio.h>int gcd(int a,int b);int main(){ int i; for(i=1;i…… 题解列表 2017年08月28日 0 点赞 0 评论 738 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:解题思路:注意事项:就提论题参考代码:#include<stdio.h>int main(){ int num[4]={0},i,j,k; for(i=0;i<4;i++) …… 题解列表 2017年08月28日 13 点赞 0 评论 1684 浏览 评分:2.0
奖学金 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[305],j[305],k[305]…… 题解列表 2017年08月28日 10 点赞 0 评论 2401 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,t; scanf("%f%f…… 题解列表 2017年08月27日 0 点赞 0 评论 1058 浏览 评分:0.0