http://poj.org/problem?id=2762 Going from u to v or from v to u? Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12733 Accepted: 3286 Description In order to make their sons brave, Jiajia and Wind take them to a big cave. The cave has
#include<iostream> #include<stdio.h> #include<string.h> #include<stack> #include<vector> #include<algorithm> #define N 1000 using namespace std; int pre[N],lowlink[N],sccno[N],dfn_clock,scc_cnt; stack<int> stk; ve
Summer Holiday Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4574 Accepted Submission(s): 2078 Problem Description To see a World in a Grain of Sand And a Heaven in a Wild Flower, Hold Inf