- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 HDU 1863 畅通工程
Problem Description 省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。经过调查评估,得到的统计表中列出了有可能建设公路的若干条道路的成本。现请你编写程序,计算出全省畅通需要的最低成本。 Input 测试输入包含若干测试用例。每个测试用例的第1行给出评估的道路条数 N、村庄数目M
2016-05-29 16:05:10 267
原创 codeforces 675C Money Transfers
There are n banks in the city where Vasya lives, they are located in a circle, such that any two banks are neighbouring if their indices differ by no more than 1. Also, bank 1 and bank n are neighbo
2016-05-29 00:36:34 475
原创 codeforces 670E Correct Bracket Sequence Editor
Recently Polycarp started to develop a text editor that works only with correct bracket sequences (abbreviated as CBS). Note that a bracket sequence is correct if it is possible to get a correct math
2016-05-27 15:10:49 411
原创 CodeForces 671B Robin Hood
Description We all know the impressive story of Robin Hood. Robin Hood uses his archery skills and his wits to steal the money from rich, and return it to the poor. There are n citizens in K
2016-05-25 17:07:44 726
原创 codeforces 670D1 Magic Powder - 1
题目链接:http://codeforces.com/problemset/problem/670/D1 题目:Magic Powder - 1 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output
2016-05-21 19:42:32 814
原创 codeforces 670C Cinema
C. Cinema time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Moscow is hosting a major international con
2016-05-13 14:10:02 321
原创 codeforces 581C Developing Skills
题目链接:http://codeforces.com/contest/581/problem/C C. Developing Skills time limit per test 1 second memory limit per test 256 megabytes input standard input output standard ou
2016-05-02 18:43:38 257
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人