Pagini recente »
Borderou de evaluare (job #441734)
|
Borderou de evaluare (job #91165)
|
Borderou de evaluare (job #386545)
|
Borderou de evaluare (job #703024)
|
Borderou de evaluare (job #603174)
Borderou de evaluare (job #603174)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:16: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
12 | fscanf("%d%d%d", &a, &b, &c);
| ^~~~~~~~
| |
| char *
In file included from main.c:1:
/usr/include/stdio.h:391:37: note: expected 'FILE * restrict' but argument is of type 'char *'
391 | extern int fscanf (FILE *__restrict __stream,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:26: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
12 | fscanf("%d%d%d", &a, &b, &c);
| ^~
| |
| int *
In file included from main.c:1:
/usr/include/stdio.h:392:29: note: expected 'const char * restrict' but argument is of type 'int *'
392 | const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d%d%d", &n, &x, &y);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf("%d%d%d", &a, &b, &c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:8: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | cnt++;
| ~~~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|