Cod sursa(job #1167829)
Utilizator | Data | 5 aprilie 2014 22:56:49 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.19 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;
}