Cod sursa(job #93537)
Utilizator | Data | 19 octombrie 2007 00:33:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<stdio.h>
int adunare(int a,int b){
return (a+b);
}
int main (){
int a,b;
freopen ("cmmdc.in","r",stdin);
freopen ("cmmdc.out","w",stdout);
scanf("%d\n",&a);
scanf("%d",&b);
printf("%d",adunare(a,b));
fclose (stdin);
fclose (stdout);
return 0;
}