摘要:
题目链接:https://www.luogu.com.cn/problem/P1559 模拟退火模板题。 实例程序: #include <bits/stdc++.h> using namespace std; int n, P[22][22], Q[22][22], p[22]; long long 阅读全文
摘要:
题目链接:https://www.luogu.com.cn/problem/P4198 解题思路:完全来自 ikusiad大佬的博客 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 5; int n 阅读全文