2661: 蓝桥杯2022年第十三届省赛真题-扫雷 亿小时的奋斗后,终于找到了答案```cpp#include#includeusingnamespacestd;typedeflonglongLL;constintM=999997,Base=1e9+1;intres,hash2[M],hash3[M], 题解列表 2023年01月11日 0 点赞 2 评论 1583 浏览 评分:8.3
弟弟的作业(水题) 摘要:```c #include int main(){ int a,b,i,cnt=0,sum; char ch,s[10]; while(scanf("%d%c%d=%s",&a,…… 题解列表 2023年01月11日 0 点赞 0 评论 631 浏览 评分:9.9
Hello, World!(C语言入门) 摘要:解题思路:使用printf函数,将Hello, World输入进去即可。注意事项:1.使用英文标点符号2.逗号后面有一个空格参考代码:#include<stdio.h>int main(){ p…… 题解列表 2023年01月11日 1 点赞 1 评论 1771 浏览 评分:8.7
1828: 蓝桥杯2015年第六届真题-密文搜索 解题思路:此题的难点大概在于对于题目的理解,在思维上并没有太大的难度,这个题的最终意思是,对每行密码都进行排列组合,形成的所有的新的字符串是否包含在s字符串中,若包含,则计入,反之。这里留下了一定的思考空间,即最终如何实现。实现细节看代码。参考代码:whileTrue:try:s=input().st 题解列表 2023年01月11日 0 点赞 0 评论 617 浏览 评分:0.0
编写题解 1036: [编程入门]带参数宏定义练习 简单利用指针来交换 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<iomanip>using namespace std;int main(){ i…… 题解列表 2023年01月11日 0 点赞 0 评论 563 浏览 评分:0.0
题解 1128: C语言训练-排序问题<1>循环做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) { int a, b, c, d; scanf("%d %d %d %d", &a, &b,…… 题解列表 2023年01月11日 0 点赞 4 评论 1186 浏览 评分:9.9
结构体之成绩统计2(C语言) 摘要:#include<stdio.h> typedef struct student { char studentid[10]; char studentname[5]; int scor…… 题解列表 2023年01月11日 0 点赞 0 评论 442 浏览 评分:0.0
汽水瓶(应该是最简单的代码) 摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,ans; while(scanf("%d",&n)&&n!=0){ ans=0; if(n==…… 题解列表 2023年01月11日 0 点赞 0 评论 511 浏览 评分:9.9
二级C语言-成绩归类(水题) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a=0,b=0,c=0; while(scanf("%d",&n)&&n>0){ if(n>=8…… 题解列表 2023年01月11日 0 点赞 0 评论 464 浏览 评分:0.0
用字符串自定义函数分离 摘要:解题思路:注意事项:注意'\0'不要漏掉参考代码:#include <stdio.h>#include <string.h>int main(){ char a[5]; gets(a);/…… 题解列表 2023年01月11日 0 点赞 0 评论 552 浏览 评分:0.0