P3505 [POI2010]TEL-Teleportation 题目描述 King Byteasar is the ruler of the whole solar system that contains planets. This number is so large that people have abandoned the silly custom of naming the planets and use numbers instead. The planets are thus…
POI2010题解 我也不知道我为什么就开始刷POI了 有些题目咕掉了所以不完整(我都不知道POI到底有多少题) [BZOJ2079][Poi2010]Guilds (貌似bz跟洛谷上的不是一个题?) 并查集判孤立点就行了. #include<cstdio> #include<algorithm> using namespace std; int gi(){ int x=0,w=1;char ch=getchar(); while ((ch<'0'||ch>'9')&a…