Problem | integralmania |
---|---|
User | bribritt |
Submission Time | 2024-01-24 10:07:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
integralmania.cpp: In function ‘int main()’:
integralmania.cpp:7:6: error: conflicting declaration ‘long long int q’
7 | int q; cin >> q; while(q--) {
| ^
integralmania.cpp:5:13: note: previous declaration as ‘std::queue<long long int> q [2]’
5 | queue<int> q[2]; int sum[2];
| ^
integralmania.cpp:7:13: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::queue<long long int> [2]’)
7 | int q; cin >> q; while(q--) {
| ~~~ ^~ ~
| | |
| | std::queue<long long int> [2]
| std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/