摘要: http://poj.org/problem?id=2234 Description Here is a simple game. In this game, there are several piles of matches and two players. The two player pla 阅读全文
posted @ 2019-03-25 21:15 丧心病狂工科女 阅读(183) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1095 A. Repeating Cipher #include <bits/stdc++.h> using namespace std; int N; string s; string ans = ""; int main() { sc 阅读全文
posted @ 2019-03-25 16:16 丧心病狂工科女 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805046380707840/problems/994805057298481152 图着色问题是一个著名的NP完全问题。给定无向图G=(V,E),问可否用K种颜色为V中的每一个顶点分配一种颜色,使得不会有两个相邻顶点具有同一种颜 阅读全文
posted @ 2019-03-25 10:45 丧心病狂工科女 阅读(248) 评论(0) 推荐(0) 编辑