0_0_38539926_24782.cpp:8:7: error: 'N' was not declared in this scope
int t[N],d[N];
^
0_0_38539926_24782.cpp:8:12: error: 'N' was not declared in this scope
int t[N],d[N];
^
0_0_38539926_24782.cpp: In function 'int main()':
0_0_38539926_24782.cpp:78:26: error: 't' was not declared in this scope
for(int i=1;i<=n;i++) t[i]=D[i].t;
^
0_0_38539926_24782.cpp:79:31: error: 'd' was not declared in this scope
for(int i=1;i<=n;i++) d[i]=D[i].d;
^
0_0_38539926_24782.cpp:85:23: error: 'd' was not declared in this scope
while(top>=1&&d[stk[top]]+t[stk[top]]<d[i]+t[i]) top--;
^
0_0_38539926_24782.cpp:85:35: error: 't' was not declared in this scope
while(top>=1&&d[stk[top]]+t[stk[top]]<d[i]+t[i]) top--;
^
|