题解列表

筛选

蓝桥杯历届试题-九宫重排(C++)

摘要:解题思路:暴力搜索,然后去掉重复的图,九宫格最多的排列组合也就是9!,也就是说最多一共362880种,本题使用使用100000的数组可以拿到50%的分,150000的数组可以拿到67%的分,20000……

P1002(结构体)

摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc……

超级变态的细节

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;long long  dg(long long  n) { if (n == 1 || n ……