Cod sursa(job #1375906)
Utilizator | Data | 5 martie 2015 14:58:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | simulara.oji.2015.9d | Marime | 0.18 kb |
#include <cstdio>
FILE*f=fopen("adunare.in","r");
FILE*h=fopen("adunare.out","w");
int main(){
int a,b;
fscanf(f,"%d%d",&a,&b);
a+=b;
fprintf(h,"%d",a);
return 0;
}