Pagini recente »
Borderou de evaluare (job #40850)
|
Borderou de evaluare (job #775537)
|
Borderou de evaluare (job #44973)
|
Borderou de evaluare (job #745376)
|
Borderou de evaluare (job #603446)
Borderou de evaluare (job #603446)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
10 | fscanf("%d",&n);
| ^~~~
| |
| 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:10:17: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
10 | fscanf("%d",&n);
| ^~
| |
| 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:14:18: warning: comparison of constant '122' with boolean expression is always true [-Wbool-compare]
14 | if('a'<=c<='z'||'A'<=c<='Z')
| ^~
main.c:14:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
14 | if('a'<=c<='z'||'A'<=c<='Z')
| ~~~^~~
main.c:14:31: warning: comparison of constant '90' with boolean expression is always true [-Wbool-compare]
14 | if('a'<=c<='z'||'A'<=c<='Z')
| ^~
main.c:14:28: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
14 | if('a'<=c<='z'||'A'<=c<='Z')
| ~~~^~~
main.c:16:23: warning: comparison of constant '57' with boolean expression is always true [-Wbool-compare]
16 | else if('0'<=c<='9')
| ^~
main.c:16:20: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
16 | else if('0'<=c<='9')
| ~~~^~~
main.c:19:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
19 | fprintf("%d %d",l,cif);
| ^~~~~~~
| |
| char *
In file included from /usr/include/stdio.h:866,
from main.c:1:
/usr/include/bits/stdio2.h:103:27: note: expected 'FILE * restrict' but argument is of type 'char *'
103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:19:21: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
19 | fprintf("%d %d",l,cif);
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
2 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
Incorect
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|