Problem | duckhunt13 |
---|---|
User | blackpanther |
Submission Time | 2025-06-18 10:07:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt13.cpp: In function ‘int main()’:
duckhunt13.cpp:13:12: error: conflicting declaration ‘std::queue<int> q’
13 | queue<int>q;
| ^
duckhunt13.cpp:11:6: note: previous declaration as ‘int q’
11 | int q;
| ^
duckhunt13.cpp:20:6: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’
20 | q.push(dt);
| ^~~~
duckhunt13.cpp:22:13: error: request for member ‘size’ in ‘q’, which is of non-class type ‘int’
22 | cout<< q.size();
| ^~~~