Problem exponentiate
User JhoCyber
Submission Time 2025-03-03 14:53:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:13:19: error: no match for ‘operator<<’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘long long int’)
13 | cin >> a >> b << c;
| ~~~~~~~~~~~~~ ^~ ~
| | |
| | long long int
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
exponentiate.cpp:13:19: note: candidate: ‘operator<<(int, long long int)’ <built-in>
13 | cin >> a >> b << c;
| ~~~~~~~~~~~~~~^~~~
exponentiate.cpp:13:19: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc