2096: 打印平行四边形 摘要:解题思路:首先循环行数,然后是空格,最后是列数。注意事项:样例中的第一行空了两格参考代码:#include <bits/stdc++.h>using namespace std;int main(){…… 题解列表 2024年01月17日 0 点赞 1 评论 254 浏览 评分:9.9
2824: 求出e的值 摘要:解题思路:m是最后的和,sum是除完的。注意事项:最后结果要加上1;参考代码:#include <bits/stdc++.h>using namespace std;int main(){ do…… 题解列表 2024年01月17日 1 点赞 0 评论 265 浏览 评分:9.9
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n ,count = 0 ,i = 0 , a[5]…… 题解列表 2024年01月17日 0 点赞 0 评论 118 浏览 评分:9.9
蓝桥杯2022年第十三届决赛真题-取模 摘要:解题思路:本体解题思路就是简单的暴力法进行求解,这一题没什么难的,主要有个很坑人的点在于题目没给你说x,y都是整数,说的了话解题就快多了注意事项: 循环的时候注意break放对地方,不然输出的yes或…… 题解列表 2024年01月17日 0 点赞 0 评论 414 浏览 评分:9.9
利用数学方法解决猴子吃桃问题 摘要:解题思路:由题可知:猴子每天吃一半多一个桃子,最后一天只剩一个桃子即:可倒推回去求解此题设第一天摘了n个桃子,则第二天有n/2-1个,第三天有(n/2-1)/2-1个,以此类推,最后一天剩1个桃子,则…… 题解列表 2024年01月18日 0 点赞 0 评论 261 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,m,x; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 150 浏览 评分:9.9
2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,d; char c…… 题解列表 2024年01月18日 0 点赞 0 评论 150 浏览 评分:9.9
题解 1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int x=0;x<=20;x++) …… 题解列表 2024年01月18日 0 点赞 0 评论 111 浏览 评分:9.9
题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c ; int x,y,z ; …… 题解列表 2024年01月18日 0 点赞 0 评论 206 浏览 评分:9.9
题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i=100; i<=999; i++…… 题解列表 2024年01月18日 0 点赞 0 评论 118 浏览 评分:9.9