[编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x){ int a=100000; if(x<=a) { return 0.1*x; } else if(x<…… 题解列表 2022年12月20日 0 点赞 0 评论 346 浏览 评分:0.0
有错误请指出 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,n; scanf("%d %d",&a,&n); int i=0,cheng=1; …… 题解列表 2022年12月20日 0 点赞 0 评论 621 浏览 评分:9.5
有错误请指出 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N,M; scanf("%d %d",&N,&M); int a,i=1,c=0; w…… 题解列表 2022年12月20日 0 点赞 0 评论 507 浏览 评分:9.0
优质题解 后缀表达式的值 摘要:解题思路: 1.从左到右扫描后缀表达式的每一个字符。 2.如果读入的字符是数字,将其转化为整数,并将其压入栈中。 3.如果读入的字符是运算符,则从栈中取出两个运算数,进行计算,并将结果压入栈中。…… 题解列表 2022年12月20日 1 点赞 0 评论 786 浏览 评分:6.8
1053: 二级C语言-平均值计算 摘要:解题思路:使用数组及for循环注意事项:参考代码:#include<stdio.h>{int a[10]; int sum=0,score=0; for(int i=0;i<10;i++)…… 题解列表 2022年12月20日 0 点赞 0 评论 270 浏览 评分:0.0
2818:老套路-(除十模十)-C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void func(long long n); int main() { long long a; scanf("%…… 题解列表 2022年12月20日 0 点赞 1 评论 625 浏览 评分:9.9
2798:用数组找最大值-《C语言》 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> #include <stdlib.h> #define N 1000 int main(…… 题解列表 2022年12月20日 0 点赞 0 评论 772 浏览 评分:9.9
2799:不要忘记初始化变量-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n; int a,b,c; a = 0…… 题解列表 2022年12月20日 0 点赞 0 评论 520 浏览 评分:9.6
登山-线性动态规划的一种特殊情况 摘要:解题思路:注意事项:参考代码:"""线性动态规划 时间复杂度 N**2除了要考虑上升的情况还要考虑先上升和下降前面一种实现起来很简单对于后面一种 要考虑更多的东西-比如数据重复和数据来源"""num=…… 题解列表 2022年12月20日 0 点赞 0 评论 459 浏览 评分:9.9
蓝桥杯算法提高VIP-单词个数统计 个人想法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[80]; gets(a); int b=strlen(a),x…… 题解列表 2022年12月20日 0 点赞 0 评论 239 浏览 评分:0.0