Problem | prefixsums |
---|---|
User | ansellee |
Submission Time | 2025-01-07 23:46:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:22:67: error: invalid operands of types ‘int’ and ‘const char [2]’ to binary ‘operator<<’
22 | printf("%ld\n", (rollingsums[qend] - rollingsums[qst-1])) << "\n";
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~
| | |
| int const char [2]