#include <stdio.h>
#include <math.h>
void cal(int x,int y,int *sum,int *diff,int *mul,int *mod){
*sum = x+y;
*diff = x-y;
*mul = x*y;
*mod = x%y;}
int main(void) {
int x=3;
int y=10;
int sum;
int diff;
int mul;
int mod;
cal(x,y,&sum,&diff,&mul,&mod);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+Cgp2b2lkIGNhbChpbnQgeCxpbnQgeSxpbnQgKnN1bSxpbnQgKmRpZmYsaW50ICptdWwsaW50ICptb2QpewoKKnN1bSA9IHgreTsKCipkaWZmID0geC15OwoKKm11bCA9IHgqeTsKCiptb2QgPSB4JXk7fQoKaW50IG1haW4odm9pZCkgewoJCglpbnQgeD0zOwoJaW50IHk9MTA7CgkKCWludCBzdW07CglpbnQgZGlmZjsKCWludCBtdWw7CglpbnQgbW9kOwoJCgljYWwoeCx5LCZzdW0sJmRpZmYsJm11bCwmbW9kKTsKCQoJcHJpbnRmKCJ4PSVkICAgeT0lZFxuIix4LHkpOwoJcHJpbnRmKCLlkowoc3VtKT0lZFxuIixzdW0pOwoJcHJpbnRmKCLlt64oZGlmZik9JWRcbiIsZGlmZik7CglwcmludGYoIuepjShtdWwpPSVkXG4iLG11bCk7CglwcmludGYoIuWVhihtb2QpPSVkXG4iLG1vZCk7CgkKCXJldHVybiAwOwp9Cg==