C语言训练-大、小写问题 (C语言代码) 摘要: 思路:利用ASCII码 定大写字母,gets,puts,输入输出数组代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; ge…… 题解列表 2019年05月06日 0 点赞 0 评论 772 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int d,i,j; int s[10]; for(i=0;i<3;i++) scanf("%d"…… 题解列表 2019年05月06日 0 点赞 0 评论 604 浏览 评分: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 评论 1084 浏览 评分: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 评论 695 浏览 评分: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 评论 621 浏览 评分:0.0
[编程入门]电报加密 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ char s1[1000]; int len,i; gets(s1…… 题解列表 2019年05月06日 0 点赞 0 评论 976 浏览 评分: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 评论 1094 浏览 评分: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 评论 1212 浏览 评分:0.0
蓝桥杯算法提高VIP-质数的后代 (Java代码)差点超时了 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2019年05月06日 0 点赞 0 评论 1052 浏览 评分:4.0
采药 (看楼上大佬的就行,我只是留一下足迹) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define max(x,y) (x)>(y)?(x):(y) int main(){ int dp[102][1001]={0},…… 题解列表 2019年05月06日 0 点赞 0 评论 1074 浏览 评分:0.0