Problem | prefixsums |
---|---|
User | Kiameimon |
Submission Time | 2024-01-17 21:21:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:125:19: error: no match for ‘operator>>’ (operand types are ‘IO_Tp’ and ‘int32_t’ {aka ‘int’})
125 | int32_t n, q; IO >> n >> q;
| ~~ ^~ ~
| | |
| IO_Tp int32_t {aka int}
prefixsums.cpp:49:9: note: candidate: ‘IO_Tp& IO_Tp::operator>>(long long int&)’ <near match>
49 | IO_Tp &operator>>(int &x)
| ^~~~~~~~
prefixsums.cpp:49:9: note: conversion of argument 1 would be ill-formed:
prefixsums.cpp:125:22: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
125 | int32_t n, q; IO >> n >> q;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from prefixsums.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<c