Problem easyquestion
User blackscreen1
Submission Time 2026-02-15 09:27:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

easyquestion.cpp: In function ‘int main()’:
easyquestion.cpp:151:22: error: no match for ‘operator+=’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
151 | else cout << res += id1 - (dpt[t1]<<1) + n3.second;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~