随笔分类 - 蓝桥杯试题集
蓝桥杯的有些题
摘要:A310电脑就离谱,明年去北京再战吧 持续更新ing 最后一道填空题: hp DFS #include<bits/stdc++.h> using namespace std; int N; bool vis[6][6]; int ans = 0; int dir[4][2] = {{1, 0}, {
阅读全文
摘要:T1 分解质因数 解题方法:暴力 //矩形相交问题 #include <bits/stdc++.h> using namespace std; bool sb(int n){ if(n == 2){ return 1; } if(!(n & 1)){ return 0; } for(int i =
阅读全文
摘要:T1 一道模拟题 高精度算阶乘 #include <bits/stdc++.h> using namespace std; void f(int n){ if(n == 1){ cout << "1"; } else { int a[100000]; int e = 0, s = 0, p = 0;
阅读全文