Pagini recente »
Borderou de evaluare (job #819144)
|
Borderou de evaluare (job #545266)
|
Borderou de evaluare (job #417603)
|
Borderou de evaluare (job #804475)
|
Borderou de evaluare (job #791270)
Borderou de evaluare (job #791270)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fscanf("%d", &A);
| ^~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:422:37: note: expected 'FILE * restrict' but argument is of type 'char *'
422 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:8:18: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fscanf("%d", &A);
| ^~
| |
| int *
/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'int *'
423 | const char *__restrict __format, ...) __wur __nonnull ((1));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf("%d", &A);
| ^~~~~~~~~~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d", &B);
| ^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
241 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
270 kb
|
Incorect
|
0
|
Punctaj total
|
0
|