Main.cpp: In function 'int main()':
Main.cpp:57:15: error: conflicting declaration 'std::queue<int> q'
57 | queue<int>q;
| ^
Main.cpp:48:13: note: previous declaration as 'int q'
48 | int n,m,q;cin>>n>>m>>q;
| ^
Main.cpp:59:8: error: request for member 'push' in 'q', which is of non-class type 'int'
59 | q.push(i);
| ^~~~
Main.cpp:61:14: error: request for member 'size' in 'q', which is of non-class type 'int'
61 | while(q.size()){
| ^~~~
Main.cpp:62:15: error: request for member 'front' in 'q', which is of non-class type 'int'
62 | int x=q.front();
| ^~~~~
Main.cpp:63:9: error: request for member 'pop' in 'q', which is of non-class type 'int'
63 | q.pop();
| ^~~
Main.cpp:68:11: error: request for member 'push' in 'q', which is of non-class type 'int'
68 | q.push(ch);
| ^~~~
Main.cpp:44:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | freopen("input.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:45:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | freopen("output.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~