蓝桥杯2022年第十三届决赛真题-取模(C/C++/Java组) 摘要:解题思路:简单暴力注意事项:用scanf能过,cin过不了参考代码:#include<iostream>#include<unordered_map>using namespace std;int t…… 题解列表 2023年06月01日 0 点赞 1 评论 658 浏览 评分:9.9
题解 2189: diamond 摘要:解题思路: 1.找规律,把图形分成上三角和下三角两个部分 上三角:每一行“*”比下一行少两个;偶数行不输出;居中对齐 下三角:每一行“*& 题解列表 2023年06月02日 0 点赞 0 评论 290 浏览 评分:9.9
C++for循环简单实现 摘要:###### 解题思路: 对于输入中的换行,我们可以使用while()条件循环去解决,在输入n之后,在使用数组对输入的数进行存储,在定义一个double类型的sum(如果是int类型,就会出现结果是…… 题解列表 2023年06月02日 0 点赞 0 评论 609 浏览 评分:9.9
优质题解 2797: 最高的分数(C++STL)解题 摘要:###### 解题思路: 将所有的数据存储到数组中去,,使用sort函数对他们进行排序,然后再输出就可以啦 ###### 注意事项: 在使用sort函数前,先了解一下它吧 它是ST…… 题解列表 2023年06月02日 0 点赞 0 评论 1125 浏览 评分:9.9
1327: [NOIP2005]等价表达式 摘要:```cpp #include #include using namespace std; const int mod=10001; char w[51],c[51]; int a[100…… 题解列表 2023年06月02日 0 点赞 0 评论 415 浏览 评分:9.9
1328: 移动服务员 摘要:```cpp #include #include #include using namespace std; int f[2][210][210],p[1010],c[210][210],l…… 题解列表 2023年06月02日 0 点赞 0 评论 664 浏览 评分:9.9
炒鸡简单(易懂) 摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){ char b[100]; int i,…… 题解列表 2023年06月02日 0 点赞 0 评论 285 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a!…… 题解列表 2023年06月03日 0 点赞 0 评论 440 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,sum; char ji; cin>>n…… 题解列表 2023年06月03日 0 点赞 0 评论 409 浏览 评分:9.9
编写题解 2788: 晶晶赴约会题解 摘要:注意事项:记得在开局的大括号里参考代码:#include <iostream>using namespace std;int main(){ int a; cin>>a; if(a=…… 题解列表 2023年06月03日 0 点赞 0 评论 542 浏览 评分:9.9