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
Godfather Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11568 Accepted: 4045 Description Last years Chicago was full of gangster fights a Read More
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