摘要: https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=0&problem=1736&mosmsg=Submission+received+with+ID+2645038 阅读全文
posted @ 2021-06-01 21:58 Tartarus_li 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4098 首先打表,正方体旋转的 \(24\) 种姿态 枚举所有正方体的旋转状态(第 \(1\) 个正方体不用旋转) 阅读全文
posted @ 2021-06-01 20:58 Tartarus_li 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 先枚举出第一行的 \(2^n\) 种状态,然后递推出后面所有的行 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 20; const int INF = 1000000007; i 阅读全文
posted @ 2021-06-01 20:04 Tartarus_li 阅读(31) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const string ma[500] = { "1w","2w","3w","4w","5w","6w","7w","8w","9w", "1b","2b","3b","4b","5b","6b" 阅读全文
posted @ 2021-06-01 16:39 Tartarus_li 阅读(37) 评论(0) 推荐(0) 编辑