题解列表
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>double fact(n){ int i; do……
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int i,max,a[10],……
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ double x,y; s……
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i,j,n,a[80][80],maxi,maxj,max……
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>double fact(int k);double fact(k){ double sum……
优质题解
Manchester- 求矩阵的两对角线上的元素之和(不需要数组法)
摘要:解题思路:1.设元素下标为i,j ,矩阵阶数为Length,和为sum;2.主对角线元素下标满足:i==j;3.副对角线元素下标满足:i+j-1==Length;4.输入一个元素Mxtrix,判断下标……
花落的新手代码 (C语言代码)
摘要:解题思路:注意事项:注意多行输入,并且注意每次遇到.都要判断前导0参考代码:#include<stdio.h>int main(){ char sz[100][30]; int n=0,t=0,i,j……
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int is_prime(int x){ int i; if(x<=1) return 0; for(……
WU-C语言考试练习题_保留字母 (C语言代码)
摘要:参考代码:#include<stdio.h>
int main()
{
char str[80],*p;
int i;
p=str;
gets(str);
for(i=0;st……