Pagini recente » Borderou de evaluare (job #2452391) | Borderou de evaluare (job #574143) | Borderou de evaluare (job #1709299) | Borderou de evaluare (job #3241801) | Borderou de evaluare (job #3223344)
Borderou de evaluare (job #3223344)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:32:22: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
32 | else fprintf("%llu",tenis(n,a,b,m,i,rez)%n);
| ^~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:350:38: note: expected 'FILE * restrict' but argument is of type 'char *'
350 | extern int fprintf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:32:49: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
32 | else fprintf("%llu",tenis(n,a,b,m,i,rez)%n);
| ~~~~~~~~~~~~~~~~~~~~^~
| |
| long unsigned int
/usr/include/stdio.h:351:44: note: expected 'const char * restrict' but argument is of type 'long unsigned int'
351 | const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:25:18: warning: unused variable 'i' [-Wunused-variable]
25 | int t,n,a,b,i,m;
| ^
main.c:24:37: warning: '__builtin_memset' writing 24000 bytes into a region of size 12000 [-Wstringop-overflow=]
24 | for(int i=0; i<3000; i++) rez[i]=0;
| ~~~~~~^~
main.c:22:28: note: destination object of size 12000 allocated by 'malloc'
22 | long unsigned int *rez=malloc(3000*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 409kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |