Cod sursa(job #1144913)

Utilizator GhiciCineRazvan Dumitriu GhiciCine Data 17 martie 2014 18:55:44
Problema A+B Scor 100
Compilator c Status done
Runda Arhiva de probleme Marime 0.26 kb
#include <stdio.h>
#include <stdlib.h>

int main()
{
    FILE *f1,*f2;
    int a,b;
    f1=fopen("adunare.in","r");
    fscanf(f1,"%d%d",&a,&b);
    f2=fopen("adunare.out","w");
    fprintf(f2,"%d",a+b);
    fclose(f1);
    fclose(f2);
    return 0;
}