密码破译(C语言新手) 摘要:解题思路:根据ASCII码表可知,只需将它们的数值加4即可得到想要的数据注意事项:参考代码:#include <stdio.h>int main(){ char a,b,c,d,e; scanf("%…… 题解列表 2024年11月10日 23 点赞 1 评论 3081 浏览 评分:10.0
三个数最大值(C语言新手) 摘要:解题思路:用的if else语句嵌套注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(…… 题解列表 2024年11月10日 4 点赞 0 评论 1165 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-前缀总分 摘要:```cpp #include #include using namespace std; int n; int lcp(const string &a,const stri…… 题解列表 2024年11月10日 2 点赞 0 评论 1728 浏览 评分:4.7
C++2784开瓶盖赢大奖题解 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a;cin >>a; if (a>=10||a>=20) { …… 题解列表 2024年11月10日 1 点赞 0 评论 341 浏览 评分:9.9
如何用C语言结构体解决谁拿了最多奖学金 摘要:解题思路:用结构体代表学生的信息,通过函数得到每个学生的奖学金,在进行对比。注意事项:认真即可参考代码:#include <stdio.h>//定义结构体,totalbons是每个学生的奖学金。str…… 题解列表 2024年11月10日 0 点赞 0 评论 367 浏览 评分:0.0
2863: 删除单词后缀(暴力解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; scanf("%s",a); i…… 题解列表 2024年11月10日 2 点赞 0 评论 472 浏览 评分:10.0
最简单易懂的解法{1019} 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double M,N,h=0,H=0; scanf("%lf%lf",&M,&N); for…… 题解列表 2024年11月10日 0 点赞 0 评论 273 浏览 评分:0.0
信息学奥赛一本通车厢重组,冒泡排序 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量a用于存储输入的整数个数,s…… 题解列表 2024年11月10日 0 点赞 0 评论 523 浏览 评分:0.0
紧急措施(二维数组方法解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> int main() { char srr…… 题解列表 2024年11月10日 0 点赞 0 评论 354 浏览 评分:9.9
编写题解 1110: 2^k进制数 摘要:```cpp #include #include using namespace std; int pr,max2,tot=0; void dp(int bit,int n){ i…… 题解列表 2024年11月10日 0 点赞 0 评论 466 浏览 评分:9.9