He Kai's blog

Tarjan

BZOJ1589: [Usaco2008 Dec]Trick or Treat on the Farm 采集糖果

Time Limit: 5 Sec  Memory Limit: 64 MB Description 每年万圣节,威斯康星的奶牛们都要打扮一番,出门在农场的N(1≤N≤100000)个牛棚里转悠,来采集糖果.她们每走到一…

2017-08-09 0 Comments 1,619 Views 0 Times 阅读全文
Tarjan

BZOJ2140: 稳定婚姻

Time Limit: 2 Sec  Memory Limit: 259 MB Description   我国的离婚率连续7年上升,今年的头两季,平均每天有近5000对夫妇离婚,大城市的离婚率上升最快,有研究…

2017-07-12 0 Comments 1,730 Views 0 Times 阅读全文
Tarjan

BZOJ1123: [POI2008]BLO

Time Limit: 10 Sec  Memory Limit: 162 MB Description Byteotia城市有n个 towns m条双向roads. 每条 road 连接 两个不同的 towns ,没有…

2017-07-11 0 Comments 1,542 Views 0 Times 阅读全文
Tarjan

BZOJ1051: [HAOI2006]受欢迎的牛

Time Limit: 10 Sec  Memory Limit: 162 MB Description   每一头牛的愿望就是变成一头最受欢迎的牛。现在有N头牛,给你M对整数(A,B),表示牛A认为牛B受欢迎。 这 种…

2017-07-10 1 Comments 2,761 Views 0 Times 阅读全文
登录

Copyright 2017 He Kai's blog. All Rights Reserved.
Theme Kratos made by Vtrois