冗余输出和输出短小,代码附下:
#include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b;
cout<<"\n";
cin>>c>>d;
cout<<(a+b)<<"\n"<<(c+d);
return 0;
}