Cod sursa(job #1462468)

Utilizator AkerToropu Alexandru Aker Data 18 iulie 2015 11:03:32
Problema A+B Scor 100
Compilator c Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <stdio.h>

int main(){

    FILE *f = fopen("adunare.in", "r");
    FILE *g = fopen("adunare.out", "w");
    int a,b;


    fscanf(f,"%d\n%d", &a,&b);

    fprintf(g,"%d",a + b);

    return 0;

}