蓝桥杯2022年第十三届省赛-扫雷(dfs+手写哈希)--技巧总结 摘要:## 1.技巧总结 ### 1.1 n进制降维 本题地雷坐标的x,y取值范围过大($$0≤x,y≤10^9$$),如果直接把x,y当作下标会爆数组。因此我们可以通过将二维数对{x,y}看作是一个$…… 题解列表 2022年09月03日 0 点赞 0 评论 2364 浏览 评分:8.9
1040简单的解法(C) 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:如果你想证明自己不是刚刚学习一两天,可以使用这段程序。#include<stdio.h>void f(){//自定义voi…… 题解列表 2022年09月03日 0 点赞 1 评论 337 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离 显示格式错误??why??? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void my_print(char a[]){ int i=0; while(a[i]…… 题解列表 2022年09月04日 0 点赞 0 评论 481 浏览 评分:0.0
1101: 循环(c++纯代码) 摘要:这第75行真是把我搞晕了,虽然最后过了,但还是不懂字符数组为啥用gets输入有问题。 ```cpp #include #include using namespace std; int xx…… 题解列表 2022年09月04日 0 点赞 0 评论 1063 浏览 评分:6.0
1102: 明明的随机数 摘要:```cpp #include #include using namespace std; int main() { int N,i,j=0,b[100]; cin>>N…… 题解列表 2022年09月04日 0 点赞 0 评论 425 浏览 评分:9.9
1103: 开心的金明 摘要:```cpp #include using namespace std; int value[25],weigth[25]; int OPT(int total,int num) { …… 题解列表 2022年09月04日 0 点赞 0 评论 718 浏览 评分:9.9
1104: Jam的计数法 摘要:```cpp #include using namespace std; int main() { char f,v[30]; int s,t,w,sum=0,flag=0…… 题解列表 2022年09月04日 0 点赞 0 评论 550 浏览 评分:9.9
1105: 数列(c+++代码) 摘要:```cpp #include #include using namespace std; int main() { int k,n,result=0,radix=1; …… 题解列表 2022年09月04日 0 点赞 0 评论 514 浏览 评分:9.9
1106: 奖学金 摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu…… 题解列表 2022年09月04日 0 点赞 0 评论 820 浏览 评分:9.9
1107: 纪念品分组 摘要:```cpp #include #include using namespace std; int n,k,a[30010],flag[30010]; bool cmp(int a,int …… 题解列表 2022年09月04日 0 点赞 1 评论 390 浏览 评分:9.9