[编程入门]利润计算-最简单无脑的题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,t; scanf("%d",&a); if(a<=100000) t=a*0.1…… 题解列表 2021年03月11日 0 点赞 0 评论 655 浏览 评分:0.0
C++三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include <cstring>#include <cmath>#include <cs…… 题解列表 2021年03月11日 0 点赞 0 评论 523 浏览 评分:0.0
蓝桥杯算法提高VIP-分数统计:自己写的,还行吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i, j=0, k, num, temp, index=0; scanf("%d", &…… 题解列表 2021年03月11日 0 点赞 0 评论 560 浏览 评分:0.0
编写题解 1083: Hello, world! 摘要:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int x; while(scanf("%d",&x)!=EOF) { prin…… 题解列表 2021年03月12日 0 点赞 0 评论 821 浏览 评分:0.0
1017: [编程入门]完数的判断 摘要:解题思路:嵌套循环逐个判断注意事项:重置sum、count!!!!!!参考代码:#include <stdio.h> int main() { //输入值、当前值、总和、下标计数器、公因数数组 …… 题解列表 2021年03月12日 0 点赞 0 评论 430 浏览 评分:0.0
1023: [编程入门]选择排序 摘要:解题思路:注意事项:多次标注长度的我习惯用宏,方便修改参考代码:#include <stdio.h> #define LEN 10 int main(){ int arr[LEN]; fo…… 题解列表 2021年03月12日 0 点赞 0 评论 667 浏览 评分:0.0
1009: [编程入门]数字的处理与判断。不用数组 摘要:解题思路:通过乘方再取余获得最高位和去掉最高位、动态控制位宽注意事项:逐位输出用count(位数)作为判断表达式,别用 i(当前值) 参考代码:#include <stdio.h> #include…… 题解列表 2021年03月12日 0 点赞 0 评论 415 浏览 评分:0.0
1044: [编程入门]三个字符串的排序,中规中矩string.h 摘要:解题思路:strcmp判断,strcpy交换注意事项:排序核心不变,单纯换判断、交换语法参考代码:#include <stdio.h> #include <string.h> #define RO…… 题解列表 2021年03月12日 0 点赞 0 评论 545 浏览 评分:0.0
题解 1093: 字符逆序 摘要:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ char str[101]; scanf("%[^\n]",&str); int l; …… 题解列表 2021年03月12日 0 点赞 0 评论 378 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:先推导每次加的式子之间的关系,可以发现是2,22,222......,可以知道an=an-1*10+2,然后加到Sn上面即可注意事项:1.要给Sn和an都赋初值,我最开始就忘记给an赋初值了…… 题解列表 2021年03月12日 0 点赞 0 评论 532 浏览 评分:0.0