仅供参考奥~#include<stdio.h>main(){int a,b,x,y;scanf("%d%d",&a,&b);x=a+b;y=a-b;printf("%d\n%d",x,y);return 0;}