Pagini recente » Borderou de evaluare (job #1844536) | Borderou de evaluare (job #3132029) | Borderou de evaluare (job #3192816) | Borderou de evaluare (job #222422) | Borderou de evaluare (job #2002604)
Borderou de evaluare (job #2002604)
Raport evaluator
Compilare:
user.c: In function ‘back’:
user.c:28:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf("%d\n", mat[n - 1][m - 1]);
^
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:28:2: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
fprintf("%d\n", mat[n - 1][m - 1]);
^
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 ‘const char * restrict’ but argument is of type ‘int’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:11:9: warning: unused variable ‘g’ [-Wunused-variable]
FILE * g = fopen("cmlsc.out", "w");
^
user.c: In function ‘main’:
user.c:53:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "r", stdin);
^
user.c:54:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out", "r", stdout);
^
user.c:57:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &M, &N);
^
user.c:59:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.c:61:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 504kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |