Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize ...
分类:
其他好文 时间:
2019-09-26 21:18:36
阅读次数:
83
The Suspects "POJ 1611" 这题就是并查集的简单应用 include include include include include include include include using namespace std; const int maxn=30004; int n, ...
分类:
其他好文 时间:
2019-08-24 20:23:30
阅读次数:
52
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize ...
分类:
其他好文 时间:
2019-08-19 09:59:59
阅读次数:
77
题意:0疑似有传染病,和0在一起的都疑似被传染(这些人也会传染别人),求有多少个人可能有传染病; 直接代码+注释(16ms) ...
分类:
其他好文 时间:
2019-08-10 09:16:57
阅读次数:
80
链接:https://vjudge.net/problem/POJ-1611#author=SCU2018 题意: 警察抓贩毒集团。有不同类型的犯罪集团,人员可能重复,集团内的人会相互接触。现在警察在其中一人(0号)身上搜出毒品,认为与这个人直接接触或通过其他人有间接接触的人都是嫌疑犯。问包括0号犯 ...
分类:
其他好文 时间:
2019-01-20 20:51:16
阅读次数:
194
The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 51969 Accepted: 24829 Description Severe acute respiratory syndrome (SARS), an ...
分类:
其他好文 时间:
2018-12-10 00:45:17
阅读次数:
186
POJ 1611 The Suspects 基础并查集,由于需要知道数量维护一个total就可以了 #include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<queue> #include<strin ...
分类:
其他好文 时间:
2018-11-28 12:30:14
阅读次数:
177
题目: Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To mini ...
分类:
其他好文 时间:
2018-08-17 16:25:05
阅读次数:
140
题目: The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 48312 Accepted: 23113 Description Severe acute respiratory syndrome (SARS) ...
分类:
其他好文 时间:
2018-06-24 00:52:46
阅读次数:
177
POJ1161——The Suspects The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 48220 Accepted: 23072 Description Severe acute respirato ...
分类:
其他好文 时间:
2018-06-16 20:32:10
阅读次数:
187