0_0_22129875_12356.cpp:7:9: error: 'M' was not declared in this scope
int gap[M],dis[M],pre[M],cur[M];
^
0_0_22129875_12356.cpp:7:16: error: 'M' was not declared in this scope
int gap[M],dis[M],pre[M],cur[M];
^
0_0_22129875_12356.cpp:7:23: error: 'M' was not declared in this scope
int gap[M],dis[M],pre[M],cur[M];
^
0_0_22129875_12356.cpp:7:30: error: 'M' was not declared in this scope
int gap[M],dis[M],pre[M],cur[M];
^
0_0_22129875_12356.cpp:9:10: error: 'M' was not declared in this scope
int head[M];
^
0_0_22129875_12356.cpp: In function 'long long int sap(int, int)':
0_0_22129875_12356.cpp:24:12: error: 'dis' was not declared in this scope
memset(dis,0,sizeof(int)*(NV+1));
^
0_0_22129875_12356.cpp:24:36: error: 'memset' was not declared in this scope
memset(dis,0,sizeof(int)*(NV+1));
^
0_0_22129875_12356.cpp:25:12: error: 'gap' was not declared in this scope
memset(gap,0,sizeof(int)*(NV+1));
^
0_0_22129875_12356.cpp:26:8: error: 'i' was not declared in this scope
FF(i,NV) cur[i] = head[i];
^
0_0_22129875_12356.cpp:26:12: error: 'FF' was not declared in this scope
FF(i,NV) cur[i] = head[i];
^
0_0_22129875_12356.cpp:27:13: error: 'pre' was not declared in this scope
int u = pre[s] = s;
^
0_0_22129875_12356.cpp:31:35: error: 'cur' was not declared in this scope
loop: for(int &i = cur[u]; i != -1; i = E[i].next) {
^
0_0_22129875_12356.cpp:49:21: error: 'head' was not declared in this scope
for(int i = head[u]; i != -1 ; i = E[i].next) {
^
0_0_22129875_12356.cpp:52:17: error: 'cur' was not declared in this scope
cur[u] = i;
^
0_0_22129875_12356.cpp: In function 'void Insert(int, int, long long int, int)':
0_0_22129875_12356.cpp:64:18: error: 'head' was not declared in this scope
E[NE].next = head[u]; head[u] = NE++;
^
0_0_22129875_12356.cpp: In function 'int main()':
0_0_22129875_12356.cpp:84:16: error: 'head' was not declared in this scope
memset(head , -1 , sizeof(head));
^
0_0_22129875_12356.cpp:84:40: error: 'memset' was not declared in this scope
memset(head , -1 , sizeof(head));
^
|