Borderou de evaluare (job #1959221)

Utilizator SteveWOproiu Stefan SteveW Data 9 aprilie 2017 11:12:09
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:7:5: error: too few arguments to function ‘fopen’ FILE *f=fopen("adunare.in"); ^ In file included from user.c:1:0: /usr/include/stdio.h:273:14: note: declared here extern FILE *fopen (__const char *__restrict __filename, ^ user.c:8:5: error: too few arguments to function ‘fopen’ FILE *g=fopen("adunare.out"); ^ In file included from user.c:1:0: /usr/include/stdio.h:273:14: note: declared here extern FILE *fopen (__const char *__restrict __filename, ^ user.c:9:28: error: ‘b’ undeclared (first use in this function) fscanf(f,"%d %d", &a, &b); ^ user.c:9:28: note: each undeclared identifier is reported only once for each function it appears in

Ceva nu functioneaza?