dreaming.cpp:6:8: error: 'L' was not declared in this scope
vector<L>v[100010],t[100010];
^
dreaming.cpp:6:8: note: suggested alternative: 'LL'
vector<L>v[100010],t[100010];
^
LL
dreaming.cpp:6:9: error: template argument 1 is invalid
vector<L>v[100010],t[100010];
^
dreaming.cpp:6:9: error: template argument 2 is invalid
dreaming.cpp: In function 'void dfs(long long int, long long int)':
dreaming.cpp:46:17: error: request for member 'size' in 'v[x]', which is of non-class type 'int'
for(i=0;i<v[x].size();i++)
^~~~
dreaming.cpp:48:12: error: invalid types 'int[long long int]' for array subscript
if(v[x][i]!=bu)
^
dreaming.cpp:50:14: error: invalid types 'int[long long int]' for array subscript
chk[v[x][i]]=1;
^
dreaming.cpp:51:14: error: invalid types 'int[long long int]' for array subscript
dfs(v[x][i],x);
^
dreaming.cpp:52:24: error: invalid types 'int[long long int]' for array subscript
S[x].insert(S[v[x][i]].ma1+t[x][i],S[v[x][i]].ma1d);
^
dreaming.cpp:52:37: error: invalid types 'int[long long int]' for array subscript
S[x].insert(S[v[x][i]].ma1+t[x][i],S[v[x][i]].ma1d);
^
dreaming.cpp:52:47: error: invalid types 'int[long long int]' for array subscript
S[x].insert(S[v[x][i]].ma1+t[x][i],S[v[x][i]].ma1d);
^
dreaming.cpp: In function 'long long int dfs2(long long int, long long int, long long int)':
dreaming.cpp:61:17: error: request for member 'size' in 'v[x]', which is of non-class type 'int'
for(i=0;i<v[x].size();i++)
^~~~
dreaming.cpp:63:12: error: invalid types 'int[long long int]' for array subscript
if(v[x][i]!=bu)
^
dreaming.cpp:65:17: error: invalid types 'int[long long int]' for array subscript
if(ord[v[x][i]]<=ord[S[x].ma1d]&&ord[S[x].ma1d]<=ordend[v[x][i]])
^
dreaming.cpp:65:66: error: invalid types 'int[long long int]' for array subscript
if(ord[v[x][i]]<=ord[S[x].ma1d]&&ord[S[x].ma1d]<=ordend[v[x][i]])
^
dreaming.cpp:68:29: error: invalid types 'int[long long int]' for array subscript
ret=min(ret,dfs2(v[x][i],x,max(give+t[x][i],S[x].ma2)));
^
dreaming.cpp:68:48: error: invalid types 'int[long long int]' for array subscript
ret=min(ret,dfs2(v[x][i],x,max(give+t[x][i],S[x].ma2)));
^
dreaming.cpp:69:33: error: invalid types 'int[long long int]' for array subscript
else ret=min(ret,dfs2(v[x][i],x,give+t[x][i]));
^
dreaming.cpp:69:48: error: invalid types 'int[long long int]' for array subscript
else ret=min(ret,dfs2(v[x][i],x,give+t[x][i]));
^
dreaming.cpp:72:28: error: invalid types 'int[long long int]' for array subscript
ret=min(ret,dfs2(v[x][i],x,max(give+t[x][i],S[x].ma1)));
^
dreaming.cpp:72:47: error: invalid types 'int[long long int]' for array subscript
ret=min(ret,dfs2(v[x][i],x,max(give+t[x][i],S[x].ma1)));
^
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:89:11: error: request for member 'push_back' in 'v[(*(A + ((sizetype)(((long unsigned int)i) * 4))))]', which is of non-class type 'int'
v[A[i]].push_back(B[i]);
^~~~~~~~~
dreaming.cpp:90:11: error: request for member 'push_back' in 'v[(*(B + ((sizetype)(((long unsigned int)i) * 4))))]', which is of non-class type 'int'
v[B[i]].push_back(A[i]);
^~~~~~~~~
dreaming.cpp:91:11: error: request for member 'push_back' in 't[(*(A + ((sizetype)(((long unsigned int)i) * 4))))]', which is of non-class type 'int'
t[A[i]].push_back(T[i]);
^~~~~~~~~
dreaming.cpp:92:11: error: request for member 'push_back' in 't[(*(B + ((sizetype)(((long unsigned int)i) * 4))))]', which is of non-class type 'int'
t[B[i]].push_back(T[i]);
^~~~~~~~~
dreaming.cpp: In function 'long long int max2(long long int, long long int, long long int)':
dreaming.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^