Problem modulochain
User yanganyi
Submission Time 2023-07-13 21:50:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int32_t main()’:
modulochain.cpp:20:46: error: invalid operands of types ‘const char [2]’ and ‘long long int’ to binary ‘operator<<’
20 | cout<<total<<" "<<((first%MOD)*last)%MOD<" "<<-(((total%MOD-first)%MOD-first)%MOD);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | long long int
| const char [2]