Pagini recente » Borderou de evaluare (job #1274793) | Borderou de evaluare (job #1298238) | Borderou de evaluare (job #2464478) | Borderou de evaluare (job #1283982) | Borderou de evaluare (job #3158061)
Borderou de evaluare (job #3158061)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
12 | fscanf("%d%d",&N,&M);
| ^~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *'
415 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:19: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
12 | fscanf("%d%d",&N,&M);
| ^~
| |
| int *
/usr/include/stdio.h:416:43: note: expected 'const char * restrict' but argument is of type 'int *'
416 | const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:16:16: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
16 | fscanf("%d%d%d%d",&x,&y,&salt,&greutate);
| ^~~~~~~~~~
| |
| char *
/usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *'
415 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:16:27: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
16 | fscanf("%d%d%d%d",&x,&y,&salt,&greutate);
| ^~
| |
| int *
/usr/include/stdio.h:416:43: note: expected 'const char * restrict' but argument is of type 'int *'
416 | const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:24:17: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
24 | fprintf("%d ",v[i]);
| ^~~~~
| |
| char *
/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:24:24: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
24 | fprintf("%d ",v[i]);
| ~^~~
| |
| int
/usr/include/stdio.h:351:44: note: expected 'const char * restrict' but argument is of type 'int'
351 | 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 |