Problem | exam |
---|---|
User | Ronni |
Submission Time | 2023-08-11 21:01:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:21:56: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
21 | ans += stoi(to_string(stoi(A.substr(i,1)) * B) + ("0"*x));
| ~~~^~
| | |
| | int
| const char [2]