Virtual Judge----小白成长所需技能 并查集
LqingX
唯沉默是最高轻蔑
展开
-
D - How Many Answers Are Wrong
TT and FF are … friends. Uh… very very good friends -________-b FF is a bad boy, he is always wooing TT to play the following game with him. This is a very humdrum game. To begin with, TT should write...原创 2019-02-16 19:38:27 · 106 阅读 · 0 评论 -
A - Wireless Network
An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all computers in the n...原创 2019-02-16 19:49:39 · 386 阅读 · 0 评论 -
E-食物链(并查集)
食物链(并查集)转载 2019-02-17 11:10:54 · 170 阅读 · 0 评论 -
B - The Suspects
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strategy is to s...原创 2019-02-17 11:32:14 · 140 阅读 · 0 评论 -
L - 小希的迷宫
上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度,小希希望任意两个房间有且仅有一条路径可以相通(除非走了回头路)。小希现在把她的设计图给你,让你帮忙判断她的...原创 2019-02-17 14:10:33 · 367 阅读 · 0 评论 -
G - 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 measured as an integral number of time units starting from the moment the s...原创 2019-02-17 15:30:24 · 150 阅读 · 0 评论