Problem | exponentiate_ex |
---|---|
User | jeongwonho64 |
Submission Time | 2023-01-29 10:42:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate_ex.cpp:34:10: error: expected initializer before ‘multiply’
34 | long int multiply(string X, string Y)
| ^~~~~~~~
exponentiate_ex.cpp: In function ‘long long int multiply(long long int, long long int)’:
exponentiate_ex.cpp:62:21: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘long long int’
62 | return multiply(x, y);
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
exponentiate_ex.cpp:59:30: note: initializing argument 1 of ‘long long int multiply(long long int, long long int)’
59 | long long multiply(long long a, long long b){
| ~~~~~~~~~~^