
c++ 标准库函数
nuiniu
这个作者很懒,什么都没留下…
展开
-
Maximum Value CodeForces - 484B(区间最大余数)
题目传送门:http://codeforces.com/problemset/problem/484/B B. Maximum Value time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are giv...原创 2018-08-02 10:04:09 · 410 阅读 · 0 评论 -
Expedition POJ - 2431
传送门 Expedition A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately managed to run over a rock and puncture the truck...原创 2018-11-18 17:01:55 · 238 阅读 · 0 评论 -
模板(acm)
加权并查集: // http://poj.org/problem?id=1182 #include<stdio.h> struct node { int p; int r; }a[50005]; int find(int x) { if(x==a[x].p) return x; int t=a[x].p; a[x].p=find(t); a[x].r=(a[x]....原创 2019-03-18 16:23:46 · 213 阅读 · 0 评论