0_0_37715102_24828.cpp: In function 'void solve()':
0_0_37715102_24828.cpp:80:13: error: 'inf' was not declared in this scope
int ans=inf;
^
0_0_37715102_24828.cpp:84:15: error: 'pii' was not declared in this scope
queue<pii> q;
^
0_0_37715102_24828.cpp:84:18: error: template argument 1 is invalid
queue<pii> q;
^
0_0_37715102_24828.cpp:84:18: error: template argument 2 is invalid
0_0_37715102_24828.cpp:84:21: error: invalid type in declaration before ';' token
queue<pii> q;
^
0_0_37715102_24828.cpp:85:11: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push({xs,ys});
^
0_0_37715102_24828.cpp:87:17: error: request for member 'size' in 'q', which is of non-class type 'int'
while(q.size())
^
0_0_37715102_24828.cpp:89:22: error: request for member 'front' in 'q', which is of non-class type 'int'
auto t=q.front();
^
0_0_37715102_24828.cpp:90:15: error: request for member 'pop' in 'q', which is of non-class type 'int'
q.pop();
^
0_0_37715102_24828.cpp:99:19: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push({a,b});
^
0_0_37715102_24828.cpp: In function 'int main()':
0_0_37715102_24828.cpp:112:9: error: 't' was not declared in this scope
cin >> t; while (t--) solve();
^
|