#include#define maxn 10005
char num1[maxn], num2[maxn];
int _num1[maxn], _num2[maxn];
int _max(int a, int b){
return a > b ? a : b;
}
int cmp(char a[], char b[]){
int l_a = strlen(a);
int l_b = strlen(b);
if(l_a > l_b) return 1;
else if(l_a < l_b) return 0;
else{
int i;
for(i = 0; i < l_a; i++){
if(a[i] > b[i]) return 1;
else if(a[i] < b[i]) return 0;
}
return 2;
}
}
void _sub(char a[], char b[]){
int l_a = strlen(a);
int l_b = strlen(b);
int len = _max(l_a, l_b);
int i, j;
memset(_num1, 0, sizeof(_num1));
memset(_num2, 0, sizeof(_num2));
for(i = l_a - 1, j = 0; i >= 0; i--, j++){
_num