Pagini recente » Borderou de evaluare (job #295035) | Borderou de evaluare (job #1170129) | Borderou de evaluare (job #2340802) | Borderou de evaluare (job #676845) | Borderou de evaluare (job #1721946)
Borderou de evaluare (job #1721946)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:21:9: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf("%d",&b[i]);
^
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:21:9: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf("%d",&b[i]);
^
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 ‘int *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:17:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d",&n,&m);
^
user.c:19:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i]);
^
user.c:21:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf("%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |