Pagini recente » Borderou de evaluare (job #1853252) | Borderou de evaluare (job #1938201) | Borderou de evaluare (job #616179) | Borderou de evaluare (job #2323356) | Borderou de evaluare (job #2288219)
Borderou de evaluare (job #2288219)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (c >= 65 && c <= 90 || c >= 97 && c <= 122)
~~~~~~~~^~~~~~~~~~
main.c:14:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (!(c >= 65 && c <= 90 || c >= 97 && c <= 122) && (lastchar >= 65 && lastchar <= 90 || lastchar >= 97 && lastchar <= 122))
~~~~~~~~^~~~~~~~~~
main.c:14:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (!(c >= 65 && c <= 90 || c >= 97 && c <= 122) && (lastchar >= 65 && lastchar <= 90 || lastchar >= 97 && lastchar <= 122))
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.c:19:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (lastchar >= 65 && lastchar <= 90 || lastchar >= 97 && lastchar <= 122)
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.c:23:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
fprintf("%d", NumarLitere / NumarCuvinte);
^~~~
In file included from /usr/include/stdio.h:936:0,
from main.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:95:1: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
^~~~~~~
main.c:23:19: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
fprintf("%d", NumarLitere / NumarCuvinte);
^~~~~~~~~~~
In file included from /usr/include/stdio.h:936:0,
from main.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:95:1: note: expected 'const char * restrict' but argument is of type 'int'
fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
^~~~~~~
main.c:23:5: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf("%d", NumarLitere / NumarCuvinte);
^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 2ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |