2013年10月13日

SGU 103 Traffic Lights 经典最短路

摘要: -----------------103. Traffic LightsTime limit per test: 0.5 second(s)Memory limit: 4096 kilobytesinput: standardoutput: standardIn the city of Dingilville the traffic is arranged in an unusual way. There are junctions and roads connecting the junctions. There is at most one road between any two dif 阅读全文

posted @ 2013-10-13 18:22 电子幼体 阅读(265) 评论(0) 推荐(0) 编辑

SGU 104 Little shop of flowers 经典DP

摘要: 104. Little shop of flowerstime limit per test: 0.5 sec.memory limit per test: 4096 KBPROBLEMYou want to arrange the window of your flower shop in a most pleasant way. You haveFbunches of flowers, each being of a different kind, and at least as many vases ordered in a row. The vases are glued onto t 阅读全文

posted @ 2013-10-13 18:19 电子幼体 阅读(169) 评论(0) 推荐(0) 编辑

导航