#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(void) {
int x,y,sum,diff,mul,mod;
x=10;
y=2;
cal(x,y,&sum,&diff,&mul,&mod);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbCAoaW50IHgsIGludCB5LCBpbnQgKnN1bSwgaW50KmRpZmYsIGludCAqbXVsLCBpbnQgKm1vZCl7Cgkqc3VtPXgreTsKCSpkaWZmPWFicyh4LXkpOwoJKm11bD14Knk7CgkqbW9kPXgveTsKfQoKaW50IG1haW4odm9pZCkgewoJaW50IHgseSxzdW0sZGlmZixtdWwsbW9kOwoJeD0xMDsKCXk9MjsKICAgIAogICAgY2FsKHgseSwmc3VtLCZkaWZmLCZtdWwsJm1vZCk7CiAgICBwcmludGYoIngreT0lZFxuIiwgc3VtKTsKICAgIHByaW50ZigieC15PSVkXG4iLCBkaWZmKTsKICAgIHByaW50ZigieCp5PSVkXG4iLCBtdWwpOwogICAgcHJpbnRmKCJ4L3k9JWRcbiIsIG1vZCk7CiAgICAKCXJldHVybiAwOwp9Cg==