Problem | exponentiate |
---|---|
User | Cadenloi |
Submission Time | 2023-10-20 13:37:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:10:18: error: no match for ‘operator^’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘long long int’)
10 | cout << a^b%c;
| ~~~~~~~~~^~~~
| | |
| | long long int
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
exponentiate.cpp:10:18: note: candidate: ‘operator^(int, long long int)’ <built-in>
10 | cout << a^b%c;
| ~~~~~~~~~^~~~
exponentiate.cpp:10:18: note: no known conversion for argument 1 from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from exponentiate.cpp:1:
/usr/include/c++/9/cstddef:179:3: note: can