Borderou de evaluare (job #2849162)

Utilizator vladxandrewVlad Andrei vladxandrew Data 14 februarie 2022 17:36:43
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 37

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 27 | while(p[i]==' '&&i<=strlen(sir)) | ~^~~~~~~~~~~~~ main.cpp:29:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 29 | while(p[i]>='0'&&p[i]<='9'&&i<=strlen(sir)) | ~^~~~~~~~~~~~~ main.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 45 | while (i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:49:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 49 | while (isalpha(p[i]) && i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:54:29: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 54 | aux[caux] = NULL; | ^~~~ main.cpp:63:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | while (p[i] == ' ' && i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:66:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 66 | while (isdigit(p[i]) && i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:83:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 83 | while (i < strlen(p) && isdigit(p[i])) | ~~^~~~~~~~~~~ main.cpp:85:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 85 | while (i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:89:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | while (isalpha(p[i]) && i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:94:29: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 94 | aux[caux] = NULL; | ^~~~ main.cpp:103:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 103 | while (p[i] == ' ' && i < strlen(p)) | ~~^~~~~~~~~~~ main.cpp:106:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 106 | while (isdigit(p[i]) && i < strlen(p)) | ~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbAfisarea Ingredientelor gresita3
22ms184kbAfisarea Ingredientelor gresita3
32ms184kbAfisarea Ingredientelor gresita3
42ms184kbOK!10
52ms184kbAfisarea Ingredientelor gresita3
62ms184kbAfisarea Ingredientelor gresita3
72ms184kbAfisarea Ingredientelor gresita3
82ms184kbAfisarea Ingredientelor gresita3
92ms184kbAfisarea Ingredientelor gresita3
102ms184kbAfisarea Ingredientelor gresita3
Punctaj total37

Ceva nu functioneaza?