Problem | prefixsums |
---|---|
User | isaackhong |
Submission Time | 2023-01-31 17:31:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:22:17: error: expected primary-expression before ‘<’ token
22 | tempPair = <firstNo, lastNo>
| ^
prefixsums.cpp:22:33: error: no match for ‘operator>’ (operand types are ‘int’ and ‘std::pair<int, int>’)
22 | tempPair = <firstNo, lastNo>
| ~~~~~~^
| |
| int
23 | queriesArr[x] = tempPair;
| ~~~~~~~~~~~~~
| |
| std::pair<int, int>
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from prefixsums.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator>(const std::__cxx11::sub_match<