Pagini recente » Borderou de evaluare (job #3197142) | Borderou de evaluare (job #2028114) | Borderou de evaluare (job #498364) | Borderou de evaluare (job #331194) | Borderou de evaluare (job #2453338)
Borderou de evaluare (job #2453338)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:21:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(text, 100000, f);
^~~~
In file included from /usr/include/stdio.h:936:0,
from main.c:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
^~~~~
main.c:41:30: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:41:41: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:41:51: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:47:29: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:47:40: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:47:50: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
printf("Letter: %c Count: %u Lenght: %u Total: %u \n", text[i], count, len, sum);
^
main.c:21:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(text, 100000, f);
^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok! | 10 |
2 | 2ms | 131kb | Wrong answer! | 0 |
3 | 2ms | 131kb | Ok! | 10 |
4 | 2ms | 131kb | Ok! | 10 |
5 | 2ms | 131kb | Wrong answer! | 0 |
6 | 2ms | 131kb | Wrong answer! | 0 |
7 | 2ms | 131kb | Wrong answer! | 0 |
8 | 2ms | 131kb | Wrong answer! | 0 |
9 | 5ms | 131kb | Wrong answer! | 0 |
10 | 61ms | 131kb | Ok! | 10 |
Punctaj total | 40 |