上一页 1 2 3 4 5 6 ··· 18 下一页
不要62 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 73058 Accepted Submission(s): 29659 Problem Read More
posted @ 2019-11-28 17:47 厂长在线养猪 Views(141) Comments(0) Diggs(0) Edit
Computer Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38859 Accepted Submission(s): 7140 Probl Read More
posted @ 2019-11-27 11:35 厂长在线养猪 Views(311) Comments(0) Diggs(0) Edit
Godfather Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11568 Accepted: 4045 Description Last years Chicago was full of gangster fights a Read More
posted @ 2019-11-27 10:41 厂长在线养猪 Views(131) Comments(0) Diggs(0) Edit
1 struct Edge{ 2 int v,next; 3 }edge[maxn<<1]; 4 int cnt,head[maxn]; 5 void add(int u,int v){ //链式前向星 6 edge[cnt].v=v; 7 edge[cnt].next=head[u]; 8 hea Read More
posted @ 2019-11-27 10:34 厂长在线养猪 Views(71) Comments(0) Diggs(0) Edit
5829: 没有上司的舞会 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte总提交: 31 测试通过:22 描述 Ural大学有N名职员,编号为1~N。他们的关系就像一棵以校长为根的树,父节点就是子节点的直接上司。每个职员有一个快乐指数,用整数 H_i 给出,其 Read More
posted @ 2019-11-26 19:28 厂长在线养猪 Views(155) Comments(0) Diggs(0) Edit
5483: 神奇的背包 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 197 测试通过:28 描述 现有一个神奇的背包,它的容量为n,它还有个另外一个属性m,也是它的神奇之处,即当它的剩余容量大于等于m时,可以装任意一个体积的物品,求最大能装多少价 Read More
posted @ 2019-11-26 17:54 厂长在线养猪 Views(275) Comments(0) Diggs(0) Edit
2200: An Old Stone Game 时间限制(普通/Java):1000MS/10000MS 内存限制:65536KByte总提交: 29 测试通过:12 描述 There is an old stone game, played on an arbitrary general tree Read More
posted @ 2019-11-25 17:07 厂长在线养猪 Views(127) Comments(0) Diggs(0) Edit
5971: Cable master 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte总提交: 81 测试通过:20 描述 Inhabitants of the Wonderland have decided to hold a regional program Read More
posted @ 2019-11-24 21:13 厂长在线养猪 Views(236) Comments(0) Diggs(0) Edit
#include<bits/stdc++.h>using namespace std;#define maxn 510const double eps=1E-8;int sig(double d){ return(d>eps)-(d<-eps);}struct Point{ double x,y; Read More
posted @ 2019-11-24 10:41 厂长在线养猪 Views(518) Comments(0) Diggs(0) Edit
1 #include <bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 5 inline int read(){ 6 int x=0,f=1; char ch=getchar(); 7 while(ch<'0'||ch>' Read More
posted @ 2019-11-19 19:36 厂长在线养猪 Views(360) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 ··· 18 下一页