Custom Bag gives way to promote businesses that would otherwise not be available due to cost and lack of opportunities. When a client receives a bag, ...
分类:
其他好文 时间:
2014-08-04 13:43:37
阅读次数:
293
DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a...
分类:
其他好文 时间:
2014-08-01 12:50:41
阅读次数:
285
Red and BlackTime Limit:2 Seconds Memory Limit:65536 KBThere is a rectangular room, covered with square tiles. Each tile is colored either red or blac...
分类:
其他好文 时间:
2014-07-31 12:18:26
阅读次数:
213
进了Room后发现都是灰的或者绿的,内心愉快啊~觉得今天可以好好cha了。比赛中:250pt : 好简单啊。。。500pt :大数分解,这我有模板啊!1000pt : 简单推了一个公式后去验证了下样例,好像是对的,那就简单了,用逆元求个组合数就好了啊。交完了1000pt后,机房突然断电了。我RP好好...
分类:
其他好文 时间:
2014-07-29 10:46:46
阅读次数:
165
建模的思路大概是这样的,把房间当做点,门当做是边,如果从房间A能到房间B中间有一个门,如果锁在A这边那么A->B容量就是INF,B->A的容量就是1。攻击者如果在A这边的话显然就算你锁了门也是没有意义的,在B这边如果锁上是有意义的,所以算1个门,然后就很简单了,建立源点到所有攻击者点的边,容量为IN...
分类:
其他好文 时间:
2014-07-29 10:28:08
阅读次数:
180
集训第一场 B题dfs简单题 做完这题就撤,回来再继续做吧= = 水手加油~ 1 #include 2 #include 3 4 int Count; 5 int to[4][2] = {{-1,0},{1,0},{0,1},{0,-1}}; 6 int row,col; 7 char room[....
分类:
其他好文 时间:
2014-07-19 21:04:34
阅读次数:
172
A - Red and Black(3.2.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
There is a rectangular room, covered with square tiles...
分类:
其他好文 时间:
2014-07-15 10:28:09
阅读次数:
229
Finding the Centroid of a Room Boundary It's been a while since my last post and I'm sure most of you were like... "Where the hell is Don!".... it's o...
分类:
其他好文 时间:
2014-07-14 10:35:17
阅读次数:
247
/*
B - 广搜/深搜 基础
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
There is a rectangular room, covered with square tiles. Each tile is colored ei...
分类:
其他好文 时间:
2014-07-13 14:08:05
阅读次数:
237
Red and BlackProblem DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on...
分类:
其他好文 时间:
2014-07-13 13:10:07
阅读次数:
220