123456789101112131415161718192021
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int sum (int a,int b); int main(){ int c,d; cin>>c; cin>>d; cout<<sum(c+d)<<endl; } int sum(int a,int b){ int result; result=a+b; return result; }
cout<<sum(c+d)<<endl;
cout<<sum(c,d)<<endl;