Pagini recente » Borderou de evaluare (job #1492480) | Borderou de evaluare (job #2264086) | Borderou de evaluare (job #3163023) | Borderou de evaluare (job #990330) | Borderou de evaluare (job #2131100)
Borderou de evaluare (job #2131100)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:9:14: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(f,"%d\n", t);
^
user.c:13:19: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [-Wincompatible-pointer-types]
scanf(f,"%d\n",a[i]);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from user.c:1:
/usr/include/stdio.h:446:12: note: expected ‘const char * restrict’ but argument is of type ‘FILE * {aka struct _IO_FILE *}’
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
user.c:9:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n", t);
^
user.c:13:13: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(f,"%d\n",a[i]);
^
user.c:9:5: warning: ‘t’ is used uninitialized in this function [-Wuninitialized]
fscanf(f,"%d\n", t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 812kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |