采药 (看楼上大佬的就行,我只是留一下足迹) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define max(x,y) (x)>(y)?(x):(y) int main(){ int dp[102][1001]={0},…… 题解列表 2019年05月06日 0 点赞 0 评论 943 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:以最简单的思路,解决这道问题注意事项:float和int的处理,我是直接全float参考代码:#include<stdio.h> int main() { float a=2,…… 题解列表 2019年05月06日 0 点赞 0 评论 738 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%#o %d %#x\n",n,…… 题解列表 2019年05月06日 0 点赞 0 评论 656 浏览 评分:0.0
求总时间 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,N; float time=0,s=30; scanf("%d",&N); for(i=1;i…… 题解列表 2019年05月06日 0 点赞 0 评论 597 浏览 评分:0.0
考试评级 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; scanf("%d",&s); if(s<0 || s>100) return 0; if…… 题解列表 2019年05月06日 0 点赞 0 评论 884 浏览 评分:0.0
求阶梯水费 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<=15) y=2*x; else y=30+(x-1…… 题解列表 2019年05月06日 0 点赞 0 评论 1471 浏览 评分:0.0
求平均工资 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,s[100],sum=0; scanf("%d",&a); for(i=0;i<a;i++) {…… 题解列表 2019年05月06日 0 点赞 0 评论 1701 浏览 评分:5.7
[编程入门]自定义函数之字符提取 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; int i; gets(a); …… 题解列表 2019年05月06日 0 点赞 0 评论 529 浏览 评分:0.0
[编程入门]电报加密 (C语言代码) 摘要:题目描述输入一行电报文字,将字母变成其下一字母(如’a’变成’b’……’z’变成’a’其它字符不变)。输入一行字符输出加密处理后的字符样例输入a b样例输出b c解题思路:注意事项:参考代码:#inc…… 题解列表 2019年05月06日 0 点赞 0 评论 1681 浏览 评分:5.4
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:题目描述输入10个数,求它们的平均值,并输出大于平均值的数据的个数。输入10个数输出大于平均数的个数样例输入1 2 3 4 5 6 7 8 9 10样例输出5解题思路:注意事项:参考代码:#inclu…… 题解列表 2019年05月06日 0 点赞 0 评论 879 浏览 评分:0.0