题解列表

筛选

【魔板】 (C++代码)

摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int AimValue; bool Vis[49451 + 1]; type……

连通图 (C++代码)(并查集)

摘要:解题思路:                判断连通图,构建并查集即可注意事项:参考代码:#include <iostream> #include <cstring> using namespace……

王牌花色 (C++代码)

摘要:#include "iostream" #include "cstdio" #include "cstring" #include "string" using namespace std; ……

数字整除 (C++代码)

摘要:解题思路:看题目数据范围,肯定是大数啦,用字符数组读取,然后再减去‘0’就是对应的数字了。然后把每个得到的数字对17取余,余数*10到加到下一位,继续取余,最后直接判断余数是否为0就OK了。注意事项:……

Minesweeper (C++代码)

摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std;   int  high, width; char Map[103][103]; ……