Problem exponentiate_ex
User wongethan8192
Submission Time 2023-03-08 11:00:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp: In function ‘int main()’:
exponentiate_ex.cpp:13:106: error: ambiguous overload for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘__int128’)
13 | int main(){vector<long int>X;long int N;cin>>N;for(long int i=0;i<N;i++){long int A,B,M;cin>>A>>B>>M;cout<<exponentiation(A,B,M);}}
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | __int128
| std::ostream {aka std::basic_ostream<char>}
In file included from