SPOJ BALNUM

一开始题看错了。。。dp[pos][sets][viss],其中sets表示出现次数,viss表示出现没有。#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>us
13次阅读

POJ 1797 Heavy Transportation(最大生成树/最短路变形)

传送门Heavy TransportationTime Limit: 3000MS Memory Limit: 30000KTotal Submissions: 31882 Accepted: 8445DescriptionBackgrou
24次阅读

Network (poj1144)

A Telephone Line Company (TLC) is establishing a new telephone cable network. They are connecting several places numbered by integers from 1 to N . No
30次阅读

[POJ2892]Tunnel Warfare

[POJ2892]Tunnel Warfare试题描述During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Pla
26次阅读

poj 3321 Apple Tree dfs序+线段树

Apple TreeTime Limit: 2000MS Memory Limit: 65536K   DescriptionThere is an apple tree outside of kaka's house. Every aut
29次阅读

POJ 2186 Popular Cows(Targin缩点)

传送门Popular CowsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 31808 Accepted: 12921DescriptionEvery cow's dre
26次阅读

POJ 3278 Catch That Cow(bfs)

传送门Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 80273 Accepted: 25290DescriptionFarmer John h
37次阅读

POJ 2251 Dungeon Master(3D迷宫 bfs)

传送门Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 28416 Accepted: 11109DescriptionYou are trapp
43次阅读

POJ 1321 棋盘问题(dfs)

传送门棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 38297 Accepted: 18761Description在一个给定形状的棋盘(形状可能是不规则的)上面
22次阅读

POJ_2387_最短路

Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 46859 Accepted: 15941DescriptionBessie i
27次阅读