题目链接:https://vjudge.net/problem/POJ-1087 A Plug for UNIX Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17861 Accepted: 6172 Description You are in charge of setting up the press room for the inaugural meeting of the United Nations In…
A Plug for UNIX 题目链接:https://vjudge.net/problem/POJ-1087 Description: You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the free flow o…
A Plug for UNIX Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16083 Accepted: 5513 Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet…
A Plug for UNIX Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13855 Accepted: 4635 Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an int…
A Plug for UNIX Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the free flow of information and ideas on the Internet as…
题目描述 Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the free flow of information and ideas on the Internet as cumbersome…
思路 电器数1 ~ 100,附带100种接口,注意题目:You notice that some of the devices use plugs for which there is no receptacle. 墙上接口1 ~ 100,还有1 ~ 100转接口,转接口有两个接口.假设所有的接口类型都不相同,接口就有400种.所以汇点值 >= 501. 读入电器的时候,它的接口可能在墙上并没有,所以要判断在此之前是否已经给该接口分配过标号. 读入转接口的时候,先读入两个转接口,然后分别判断是否…