furniture.cpp:30:11: error: conflicting declaration 'std::queue<std::pair<long long int, long long int> > q'
30 | queue<pi> q;
| ^
furniture.cpp:25:10: note: previous declaration as 'll q'
25 | ll t,n,m,q,k;
| ^
furniture.cpp: In function 'll bfs()':
furniture.cpp:34:7: error: request for member 'push' in 'q', which is of non-class type 'll' {aka 'long long int'}
34 | q.push({0,0});
| ^~~~
furniture.cpp:35:14: error: request for member 'empty' in 'q', which is of non-class type 'll' {aka 'long long int'}
35 | while(!q.empty()){
| ^~~~~
furniture.cpp:36:20: error: request for member 'front' in 'q', which is of non-class type 'll' {aka 'long long int'}
36 | pi cur = q.front();
| ^~~~~
furniture.cpp:37:11: error: request for member 'pop' in 'q', which is of non-class type 'll' {aka 'long long int'}
37 | q.pop();
| ^~~
furniture.cpp:48:15: error: request for member 'push' in 'q', which is of non-class type 'll' {aka 'long long int'}
48 | q.push({nx,ny});
| ^~~~
furniture.cpp: In function 'int main()':
furniture.cpp:55:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | scanf("%lld %lld ", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
furniture.cpp:58:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
58 | scanf("%lld ", &a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~~~
furniture.cpp:59:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | scanf("%lld ", &t);
| ~~~~~^~~~~~~~~~~~~
furniture.cpp:62:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | scanf("%lld %lld ", &q1, &q2);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~