C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:解题思路:最大值和最小值下标标记下来注意事项:不要排序,那样会乱了原来的顺序参考代码:#include<stdio.h>int main(){ int a[10]; int i; i…… 题解列表 2018年07月03日 0 点赞 0 评论 698 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意数据类型和输出格式参考代码:#include<stdio.h>int main(){ double F; int i; for(i = -100;i <= 1…… 题解列表 2018年07月03日 0 点赞 0 评论 721 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:直接代入函数注意事项:double pow(double x,double y)计算x的y次幂参考代码:#include<stdio.h>#include<math.h>int main()…… 题解列表 2018年07月03日 0 点赞 0 评论 652 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意函数的返回值,第一次写的int,wa一次参考代码:#include<stdio.h>double fact(int k){ int f; if(k == 0 || …… 题解列表 2018年07月03日 0 点赞 0 评论 849 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:结构体注意事项:参考代码:#include<stdio.h>struct student{ char id[20]; char name[20]; int score1; …… 题解列表 2018年07月03日 0 点赞 0 评论 552 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[10003]; int m,n; int…… 题解列表 2018年07月03日 0 点赞 0 评论 641 浏览 评分:0.0
P1005 (C++代码) 摘要:解题思路:动态规划注意事项:参考代码:#include <cstdlib>#include<iostream>using namespace std;int s[1001];int main(int …… 题解列表 2018年07月03日 0 点赞 0 评论 668 浏览 评分:8.0
字符逆序 (C语言代码) 摘要:解题思路:正向输入,逆向输出 注意事项:要注意scanf和gets的区别,前者以空格划分字符串参考代码:#include<iostream>#include<cstring>using namespa…… 题解列表 2018年07月03日 0 点赞 0 评论 493 浏览 评分:0.0
基础训练数列排序 (Java代码) 摘要:解题思路:注意事项:参考代码:package cWeb.acm; import java.util.Arrays; import java.util.Scanner; public cl…… 题解列表 2018年07月02日 0 点赞 0 评论 614 浏览 评分:0.0
P1003 (C语言代码) 摘要:解题思路:每次都按一个往返来加,和M来比较注意事项:参考代码:#include<stdio.h>int main(){ int M,T,U,F,D; int i; char ch; …… 题解列表 2018年07月02日 0 点赞 0 评论 595 浏览 评分:0.0