Pagini recente » Borderou de evaluare (job #1320675) | Borderou de evaluare (job #509654) | Borderou de evaluare (job #891348) | Borderou de evaluare (job #1743944) | Borderou de evaluare (job #1513647)
Borderou de evaluare (job #1513647)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:26:5: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf( "%d", &n );
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:26:5: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf( "%d", &n );
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘const char * restrict’ but argument is of type ‘long int *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf( fin, "%d %d", &a, &b );
^
user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( "%d", &n );
^
user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d %d", &a, &b );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |