题解 1986: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,a,b; scanf("%d&…… 题解列表 2025年01月23日 0 点赞 0 评论 270 浏览 评分:0.0
很新手的解题,想到什么就写什么,你绝对能看懂 摘要:解题思路:把输入的数的各个位数依次取出来存在数组里,再取出来组成反转的数注意事项:参考代码:#include<stdio.h>#include<math.h>int…… 题解列表 2025年01月23日 0 点赞 0 评论 199 浏览 评分:0.0
题解 1851: 求所给范围内水仙花数并排列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int …… 题解列表 2025年01月23日 0 点赞 0 评论 162 浏览 评分:0.0
很简单的做法 摘要:解题思路:定义数组,初始化为1,有人操作一次就把对应的数取一次反,最后检验哪些数为-1,便输出对应的序号数加1注意事项:这个输出格式太蛋疼了,循环输出就会多一个逗号,用"\b "空…… 题解列表 2025年01月23日 0 点赞 0 评论 483 浏览 评分:0.0
不知道为什么不能用pow函数算,奇怪 摘要:解题思路:注意事项:要自己定义循环来算,用pow函数就会报错参考代码:#include<stdio.h>#include<math.h>intmain(void){…… 题解列表 2025年01月23日 0 点赞 0 评论 234 浏览 评分:0.0
数组太好用了 摘要:解题思路:把系数存在数组里,再把数取出来乘一下输出即可注意事项:注意输入n为0的情况。还有就是常数求导后就为0了,不需要输出它,所以输出时的循环比输入时的少一个参考代码:#include<std…… 题解列表 2025年01月23日 0 点赞 0 评论 235 浏览 评分:0.0
编写题解 1505: 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:数空格,最后结果比空格多一注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int …… 题解列表 2025年01月24日 1 点赞 0 评论 362 浏览 评分:0.0
题解 1855: 输出字符'A'个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int …… 题解列表 2025年01月24日 0 点赞 0 评论 268 浏览 评分:0.0
题解 1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int …… 题解列表 2025年01月24日 0 点赞 0 评论 120 浏览 评分:0.0
题解 1615: 蓝桥杯算法训练VIP-友好数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int …… 题解列表 2025年01月24日 0 点赞 0 评论 113 浏览 评分:0.0