printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%#o %d %#x\n",n,…… 题解列表 2019年05月06日 0 点赞 0 评论 771 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:以最简单的思路,解决这道问题注意事项:float和int的处理,我是直接全float参考代码:#include<stdio.h> int main() { float a=2,…… 题解列表 2019年05月06日 0 点赞 0 评论 875 浏览 评分:0.0
采药 (看楼上大佬的就行,我只是留一下足迹) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define max(x,y) (x)>(y)?(x):(y) int main(){ int dp[102][1001]={0},…… 题解列表 2019年05月06日 0 点赞 0 评论 1091 浏览 评分:0.0
[编程入门]宏定义之找最大数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define fun(a,b,c) (a>b?a:b)>c?(a>b?a:b):cint main(){ double a,b,c,m…… 题解列表 2019年05月06日 0 点赞 0 评论 1235 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C语言代码)套用大数加法的思路(模拟手算) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char st[10005],cs[10005]; int a[10005]…… 题解列表 2019年05月06日 0 点赞 0 评论 1115 浏览 评分:0.0
[编程入门]电报加密 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ char s1[1000]; int len,i; gets(s1…… 题解列表 2019年05月06日 0 点赞 0 评论 1008 浏览 评分:0.0
[递归]母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int s[54]={1,2,3,4},n,i; for(i=4;i<54;i++) …… 题解列表 2019年05月06日 0 点赞 0 评论 640 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<math.h>int main(){ int a[10],i,c,d; for(i=0;i<10;i++) { …… 题解列表 2019年05月06日 0 点赞 0 评论 725 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun1(int m,int n) { int max1,min; if(m<n) min=m; else…… 题解列表 2019年05月06日 0 点赞 0 评论 1100 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要: 思路:利用ASCII码 定大写字母,gets,puts,输入输出数组代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; ge…… 题解列表 2019年05月06日 0 点赞 0 评论 796 浏览 评分:0.0