2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:1.先利用数组存储这十个数值;2.存储好数值后再查找数组中最小的那个数值,用min保存,并记录当前的数组下标j=i;3.设一个中间变量temp=arr[9],然后再将arr[j]的值赋给ar…… 题解列表 2017年11月13日 1 点赞 0 评论 826 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路:利用for循环来控制要加的语句注意事项:只能用于stdafx的调用函数中参考代码:#include "stdafx.h"void main(){ int a[3][3]; int i,j,k…… 题解列表 2017年11月13日 1 点赞 0 评论 923 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class M{ public static void main(String[] args) { …… 题解列表 2017年11月13日 1 点赞 0 评论 1090 浏览 评分:0.0
P1044 (C++代码) 摘要:解题思路:动态规划注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int a[100][100]; …… 题解列表 2017年11月12日 0 点赞 0 评论 1236 浏览 评分:0.0
小九九 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; for(i=1;i<=9;i++)//这里表示运算的次数,i=2表示下面一个for…… 题解列表 2017年11月12日 0 点赞 0 评论 788 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;class A{ int x, y; public A(int a) { …… 题解列表 2017年11月12日 0 点赞 0 评论 833 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 指针(C语言代码) 摘要:#include <stdio.h> int main() { int n, m; scanf("%d", &n); char s[n+1]; scan…… 题解列表 2017年11月11日 1 点赞 0 评论 1048 浏览 评分:0.0
母牛的故事 (java语言代码) 摘要:解题思路:没看到有java的,来冒个泡(其实都一样吧)三个int量分别代表成年,一岁,和两岁的母牛用一个循环表示时间的增长每加一年;有所有的未成年牛加一岁;成年牛每只生下一只小牛;就酱,最后输出和注意…… 题解列表 2017年11月11日 5 点赞 1 评论 1018 浏览 评分:4.7
IP判断 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <cstring>int main(){ char c[105],t[105]; while(scanf(…… 题解列表 2017年11月11日 0 点赞 0 评论 1033 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:#include<stdio.h> int main() { printf("2.74e+32\n"); return 0;}…… 题解列表 2017年11月11日 1 点赞 0 评论 2126 浏览 评分:0.0