题解列表

筛选

【魔板】 (C++代码)

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

可AC (C语言代码)

摘要:解题思路: 注意事项:参考代码:#include<stdio.h> int fun(int n) { int sum = 0; if (n == 1) sum = 0; i……

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

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