Pagini recente » Borderou de evaluare (job #2710681) | Borderou de evaluare (job #2584289) | Borderou de evaluare (job #2474702) | Borderou de evaluare (job #3279487) | Borderou de evaluare (job #3223340)
Borderou de evaluare (job #3223340)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:29:22: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
29 | else fprintf("%d",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:29:47: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
29 | else fprintf("%d",tenis(n,a,b,m,i,rez)%n);
| ~~~~~~~~~~~~~~~~~~~~^~
| |
| int
/usr/include/stdio.h:351:44: note: expected 'const char * restrict' but argument is of type 'int'
351 | const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:22:17: warning: unused variable 'i' [-Wunused-variable]
22 | int t,n,a,b,i,m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |