Borderou de evaluare (job #618010)

Utilizator avatar Zluca.jmecher Zamfir Luca Cristian Zluca.jmecher IP ascuns
Problemă Invcuv (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 25 nov. 2021 18:01:17 Scor 100

Raport evaluator

Compilare: main.c: In function 'printcuv': main.c:13:8: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 13 | if(isdigit(ch) || isalpha(ch)) | ^~~~~~~ main.c:3:1: note: include '<ctype.h>' or provide a declaration of 'isdigit' 2 | #include <stdlib.h> +++ |+#include <ctype.h> 3 | main.c:13:23: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 13 | if(isdigit(ch) || isalpha(ch)) | ^~~~~~~ main.c:13:23: note: include '<ctype.h>' or provide a declaration of 'isalpha' main.c:21:1: warning: control reaches end of non-void function [-Wreturn-type] 21 | } | ^ main.c: In function 'print_text': main.c:26:7: warning: 'ch' is used uninitialized [-Wuninitialized] 26 | if(ch == ' ') | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 128 ms 335 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 262 kb OK 10
7 23 ms 249 kb OK 10
8 59 ms 233 kb OK 10
9 86 ms 221 kb OK 10
10 119 ms 331 kb OK 10
Punctaj total 100