#include <stdio.h>
void cal(int x, int y, int *sum, int *diff, int *mul, int *mod) {
*sum = x + y;
*mul = x * y;
*mod = x % y;
}
int main() {
int x, y;
int sum, diff, mul, mod;
cal(x, y, &sum, &diff, &mul, &mod);
printf("|x - y| = %d\n", diff
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbChpbnQgeCwgaW50IHksIGludCAqc3VtLCBpbnQgKmRpZmYsIGludCAqbXVsLCBpbnQgKm1vZCkgewogICAgKnN1bSA9IHggKyB5OwogICAgKmRpZmYgPSBhYnMoeCAtIHkpOwogICAgKm11bCA9IHggKiB5OwogICAgKm1vZCA9IHggJSB5OyAKfQoKaW50IG1haW4oKSB7CiAgICBpbnQgeCwgeTsKICAgIGludCBzdW0sIGRpZmYsIG11bCwgbW9kOwogICAgCiAgICBzY2FuZigiJWQgJWQiLCAmeCwgJnkpOwoKICAgIGNhbCh4LCB5LCAmc3VtLCAmZGlmZiwgJm11bCwgJm1vZCk7CgogICAgcHJpbnRmKCJ4ICsgeSA9ICVkXG4iLCBzdW0pOwogICAgcHJpbnRmKCJ8eCAtIHl8ID0gJWRcbiIsIGRpZmYpOwogICAgcHJpbnRmKCJ4ICogeSA9ICVkXG4iLCBtdWwpOwogICAgcHJpbnRmKCJ4ICUlIHkgPSAlZFxuIiwgbW9kKTsgCgogICAgcmV0dXJuIDA7Cn0K