2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s[10],i,t=0,n=0; double t1; for(i=0;i<10;i++) { sca…… 题解列表 2019年05月13日 0 点赞 0 评论 681 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0,s=2; scanf("%d",&n); for(int i=0;i<n;i++) { …… 题解列表 2019年05月13日 0 点赞 0 评论 980 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,max,min,max1,a=0; scanf("%d %d",&m,&n); for(int …… 题解列表 2019年05月13日 0 点赞 0 评论 1175 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int s[10],min=0,t,i; for(i=0;i<10;i++) s…… 题解列表 2019年05月13日 0 点赞 0 评论 587 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ char num[100]; char name[100]; int grade1; int grade…… 题解列表 2019年05月13日 0 点赞 0 评论 935 浏览 评分:0.0
教学楼的楼梯 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long fun(int M){ if(M==1||M==2) return 1; else return fun(M-1)+fun(M…… 题解列表 2019年05月13日 0 点赞 0 评论 848 浏览 评分:0.0
[编程入门]自定义函数之数字后移 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s[100],n,i,m,m1; scanf("%d",&n); for(i=0;i<n;i++) { …… 题解列表 2019年05月13日 0 点赞 0 评论 714 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; int N; scanf("%…… 题解列表 2019年05月13日 0 点赞 0 评论 883 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; int i,len; …… 题解列表 2019年05月13日 1 点赞 1 评论 423 浏览 评分:0.0
[编程入门]自定义函数之通用位移 (C++代码)又双水了一题--附快捷方法 摘要:解题思路: 本题目需要注意如下事项:使用unsigned int 类型,不适用的话会产生错误使用while循环做位数判断控制,理论上n多大都可以的,因为循环可以进行判重,n>=32可以通过取余数…… 题解列表 2019年05月13日 0 点赞 0 评论 1832 浏览 评分:0.0