How Many Tables

 How Many Tables   Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs ...

2018-01-22 11:47:02

阅读数 51

评论数 0


Rumor   Vova promised himself that he would never play computer games... But recently Firestorm — a well-known game developing company — publishe...

2018-01-19 20:25:10

阅读数 408

评论数 0


畅通工程   某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?  Input测试输入包含若干测试用例...

2018-01-19 20:08:53

阅读数 52

评论数 0

The Suspects

The Suspects     Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-Ma...

2018-01-17 15:19:23

阅读数 63

评论数 0


Supermarket   A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measur...

2018-01-08 10:10:58

阅读数 173

评论数 0

Prime Path

Prime Path The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the ...

2018-01-08 09:55:06

阅读数 46

评论数 0

Find The Multiple

Find The Multiple Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the...

2018-01-08 09:42:40

阅读数 63

评论数 0

取消 删除