[编程入门]宏定义之找最大数 (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 评论 1075 浏览 评分:0.0
蓝桥杯算法提高VIP-质数的后代 (Java代码)差点超时了 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2019年05月06日 0 点赞 0 评论 955 浏览 评分: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 评论 948 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:以最简单的思路,解决这道问题注意事项:float和int的处理,我是直接全float参考代码:#include<stdio.h> int main() { float a=2,…… 题解列表 2019年05月06日 0 点赞 0 评论 744 浏览 评分: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 评论 662 浏览 评分: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 评论 599 浏览 评分: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 评论 889 浏览 评分: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 评论 1475 浏览 评分: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 评论 531 浏览 评分:0.0