-1

I am trying to solve this problem. Here is my code.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX 105
int max(int a, int b) {
return a < b ? b :a;
}
void str2int(char* s, int len, int* a) {
int i,j;
for(i=0, j=len-1; i<len; i++, j--)
a[i] = s[j] - ...