Pagini recente » Borderou de evaluare (job #285110) | Borderou de evaluare (job #933350) | Borderou de evaluare (job #2566925) | Borderou de evaluare (job #2059847) | Borderou de evaluare (job #3160122)
Borderou de evaluare (job #3160122)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:15: warning: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types]
14 | { scanf(in,"%d %d %d %d", &a[i].x, &a[i].y, &a[i].salt, &a[i].gr);
| ^~
| |
| FILE *
In file included from main.c:1:
/usr/include/stdio.h:421:42: note: expected 'const char * restrict' but argument is of type 'FILE *'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:22:12: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types]
22 | printf(out,"%d ",suma[i]);
| ^~~
| |
| FILE *
/usr/include/stdio.h:356:43: note: expected 'const char * restrict' but argument is of type 'FILE *'
356 | extern int printf (const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 0ms | 303kb | Incorect | 0 |
| 12 | 0ms | 303kb | Incorect | 0 |
| 13 | 0ms | 303kb | Incorect | 0 |
| 14 | 0ms | 303kb | Incorect | 0 |
| 15 | 0ms | 303kb | Incorect | 0 |
| 16 | 0ms | 303kb | Incorect | 0 |
| 17 | 0ms | 303kb | Incorect | 0 |
| 18 | 0ms | 303kb | Incorect | 0 |
| 19 | 0ms | 303kb | Incorect | 0 |
| 20 | 0ms | 303kb | Incorect | 0 |
| Punctaj total | 0 |