Borderou de evaluare (job #1467361)
Utilizator | Data | 3 august 2015 12:23:42 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:79:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf("\n");
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:79:5: error: too few arguments to function ‘fprintf’
fprintf("\n");
^
user.c:42:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &m, &n);
^
user.c:45:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v1[i]);
^
user.c:48:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v2[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !