摘要:
Problem Description 这是个剑与魔法的世界.英雄和魔物同在,动荡和安定并存.但总的来说,库尔特王国是个安宁的国家,人民安居乐业,魔物也比较少.但是.总有一些魔物不时会进入城市附近,干扰人民的生活.就要有一些人出来守护居民们不被魔物侵害.魔法使艾米莉就是这样的一个人.她骑着... 阅读全文
摘要:
Problem Description N cities of the Java Kingdom need to be covered by radars for being in a state of war. Since the kingdom has M radar stations ... 阅读全文
摘要:
DESCRIPTION There is an N*M matrix with only 0s and 1s, (1 #include #include const int maxnode=100010; const int maxm=1010; const int maxn=1010;... 阅读全文
摘要:
Description Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i #include using namespace std; struct DLX { int n,m,size; int U[5000],D[5000],R[5000... 阅读全文