摘要: "来源poj2263" Big Johnsson Trucks Inc. is a company specialized in manufacturing big trucks. Their latest model, the Godzilla V12, is so big that the am 阅读全文
posted @ 2018-08-19 23:18 一无所知小白龙 阅读(191) 评论(0) 推荐(0) 编辑
摘要: "来源poj3125" The only printer in the computer science students' union is experiencing an extremely heavy workload. Sometimes there are a hundred jobs i 阅读全文
posted @ 2018-08-19 21:30 一无所知小白龙 阅读(277) 评论(0) 推荐(0) 编辑
摘要: "来源poj2970" A new web design studio, called SMART (Simply Masters of ART), employs two people. The first one is a web designer and an executive direct 阅读全文
posted @ 2018-08-19 20:54 一无所知小白龙 阅读(255) 评论(0) 推荐(1) 编辑
摘要: "来源poj2431" A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately mana 阅读全文
posted @ 2018-08-19 17:17 一无所知小白龙 阅读(170) 评论(0) 推荐(0) 编辑
摘要: LL Lucas(LL a, LL b) { if(a 阅读全文
posted @ 2018-08-19 14:10 一无所知小白龙 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 并查集 int pre[100005],temp;//num是保存被指向的数目 int find(int x) { if(pre[x]==x) return x; return pre[x]=find(pre[x]); } void Union(int x,int y)// 第一种是如果出现的两个点 阅读全文
posted @ 2018-08-19 14:05 一无所知小白龙 阅读(121) 评论(0) 推荐(0) 编辑