Cod sursa(job #895150)
Utilizator | Data | 27 februarie 2013 10:16:45 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<cstdio>
using namespace std;
int adunare (int x,int y){
return x+y;
}
int main () {
int a,b;
freopen ("adunare.in" , "r" , stdin);
freopen ("adunare.out" , "w" , stdout);
scanf ("%d%d" , &a,&b);
printf ("%d" , adunare(a,b));
}