Cod sursa(job #496805)
| Utilizator | Data | 30 octombrie 2010 19:00:06 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include "stdio.h"
int main(){
int a,b;
FILE *f,*g;
f = fopen("adunare.in","r");
g = fopen("adunare.out","w");
fscanf(f,"%d %d",&a,&b);
fprintf(g,"%d",a+b);
return 0;
}