题解列表

筛选

sort排序自定义

摘要:#include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int n, m; struct node { ……

十->二进制转换

摘要: 有点复杂哈,主要是格式问题 #include int main() { int n; while((scanf("%d",&n))!=E……

二维数组线性dp(C++)

摘要:#include using namespace std; const int N = 110; int f[N][N]; int a[N][N]; int main() { int ……

矩阵最大值c++

摘要:```cpp #include using namespace std; int main() { int m, n; int a[101][101]; whi……

信息学奥赛一本通T1255-迷宫问题

摘要:解题思路:使用宽度优先搜索解题注意事项:题目测试数据不好,一定要使用{ { -1, 0 }, { 0, -1 }, { 1, 0 }, { 0, 1 } };这个顺序不然会报答案错误.参考代码:imp……