Problem | basketball_cpic |
---|---|
User | isntsword |
Submission Time | 2025-06-20 16:25:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
basketball_cpic.cpp: In function ‘int32_t main()’:
basketball_cpic.cpp:16:20: error: no match for ‘operator=’ (operand types are ‘std::deque<long long int>’ and ‘int’)
16 | for( dq , dq = 0, --){
| ^
In file included from /usr/include/c++/9/deque:69,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from basketball_cpic.cpp:1:
/usr/include/c++/9/bits/deque.tcc:93:5: note: candidate: ‘std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(const std::deque<_Tp, _Alloc>&) [with _Tp = long long int; _Alloc = std::allocator<long long int>]’
93 | deque<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/deque.tcc:94:28: note: no known conversion for argument 1 from ‘int’ to ‘const std::deque<long long int>&’
94 | operator=(const deque& __x)
| ~~~~~~~~~~~~~^~~
In file included from