| Problem | thumper2 |
|---|---|
| User | rds31415 |
| Submission Time | 2026-03-09 23:05:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
thumper2.cpp: In function ‘int main()’:
thumper2.cpp:125:7: error: no match for ‘operator>>’ (operand types are ‘IO’ and ‘ll’ {aka ‘long long int’})
125 | cin >> rb[i].r >> rb[i].c;
| ^~
thumper2.cpp:39:15: note: candidate: ‘IO& IO::operator>>(int&)’ <near match>
39 | inline IO& operator>>(int& x) {
| ^~~~~~~~
thumper2.cpp:39:15: note: conversion of argument 1 would be ill-formed:
thumper2.cpp:125:16: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
125 | cin >> rb[i].r >> rb[i].c;
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from thumper2.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(std::byte, _IntegerType)’
140 | operator>>(byte __b, _Int