摘要:
https://www.acwing.com/problem/content/803/签到题,利用按位与求数的二进制1的个数也可以采用lowbit操作 #include<iostream> using namespace std; int n; int a; int main() { cin >> 阅读全文
摘要:
https://www.acwing.com/problem/content/846/经典bfs虽然是bfs但是我还是要走一遍dfs啊(剑魔音)?还是老老实实走bfs吧 #include<iostream> #include<queue> #define x first #define y seco 阅读全文