摘要:
判断上下奇偶性并判断有没有上下奇偶性不一致的牌即可 分4种情况讨论 + 奇偶性不同怎么变都不行,输出 1 + 都是偶数直接输出0 + 都是奇数需要找到上下奇偶性不同的牌,输出1,否则不可能,输出 1 cpp include using namespace std; int main() { int 阅读全文
摘要:
HASH判重 我的方法可能比较奇怪 注意一定要判断截出来矩形的形状和图形内部其他图形 cpp include using namespace std; typedef long long ll; const int N = 110, M = 510, dx[8] = {1, 1, 1, 1, 1, 阅读全文