#include <stdio.h>
void cal(int x, int y, int *add, int *def);
int main(void)
{
int a,b,n1,n2;
cal(n1,n2,&a,&b);
printf("abb = %d def = %d",a
,b
);
return 0;
}
void cal(int x, int y, int *add, int *def)
{
*add=x+y;
*def=x-y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbChpbnQgeCwgaW50IHksIGludCAqYWRkLCBpbnQgKmRlZik7CgppbnQgbWFpbih2b2lkKSAKewoJCglpbnQgYSxiLG4xLG4yOwoJcHJpbnRmKCJuMSA6IFxuIik7c2NhbmYoIiVkIiwmbjEpOwoJCXByaW50ZigibjIgOiBcbiIpO3NjYW5mKCIlZCIsJm4yKTsKCQkgCgkJIGNhbChuMSxuMiwmYSwmYik7CgkJIAoJcHJpbnRmKCJhYmIgPSAlZCBkZWYgPSAlZCIsYSxiKTsKCglyZXR1cm4gMDsKfQoKdm9pZCBjYWwoaW50IHgsIGludCB5LCBpbnQgKmFkZCwgaW50ICpkZWYpCnsKCSphZGQ9eCt5OwoJKmRlZj14LXk7Cn0=