07 2024 档案

摘要:C、小w和大W的决斗 博弈论 sg函数打表即可 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define int ll #define endl '\n' #define fi first #define 阅读全文
posted @ 2024-07-26 22:03 sonyaxu 阅读(40) 评论(0) 推荐(0)
摘要:B 爱探险的朵拉 这道题描述的是一个基环树的图,可视作每个关卡与其连接的关卡之间连接了一条边。 思路就是遍历每个点作为起点,计算环和最长链的长度。注意标记一下。 不要重复搜搜过的环。 #include <bits/stdc++.h> using namespace std; typedef long 阅读全文
posted @ 2024-07-18 08:48 sonyaxu 阅读(37) 评论(0) 推荐(0)