Getting no output

Checked many times, but still getting wrong and. PLZ HELP

@Akshay123
Line 12
result+=(ll)(str[i]*(ll)pow(prime,i));
You put + instead of *

Please close the doubt