Cod sursa(job #758351)
Utilizator | Data | 15 iunie 2012 13:19:19 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | c | 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;
}