2024年国际大学生程序设计竞赛(ACM-ICPC)新疆赛区大赛

2024年国际大学生程序设计竞赛(ACM-ICPC)新疆赛区大赛 A 观察到 \(n\leq 8\) 直接暴力 dfs 或者用 next_permutation 即可。 Code #include <bits/stdc++.h> typedef long long LL; int main() {
posted @ 2024-05-23 14:57  jackle  阅读(2)  评论(0编辑  收藏  举报