Borderou de evaluare (job #2889550)

Utilizator bianca.andreiAndrei Bianca bianca.andrei Data 12 aprilie 2022 22:17:07
Problema Alibaba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 22 | for(i=0;i<strlen(s);i++) | ~^~~~~~~~~~ main.cpp:50:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 50 | solutie[i] = NULL; | ^~~~ main.cpp:51:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(i=0;i<strlen(solutie)/2;i++) | ~^~~~~~~~~~~~~~~~~~ main.cpp:14:9: warning: unused variable 'sol' [-Wunused-variable] 14 | int sol=0, i, p=1, n, k, c; | ^~~ main.cpp:14:19: warning: unused variable 'p' [-Wunused-variable] 14 | int sol=0, i, p=1, n, k, c; | ^ main.cpp:14:30: warning: unused variable 'c' [-Wunused-variable] 14 | int sol=0, i, p=1, n, k, c; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
21ms184kbOK10
31ms184kbOK10
41ms184kbOK10
514ms266kbOK10
61ms184kbOK10
73ms307kbOK10
85ms184kbOK10
96ms290kbOK10
103ms184kbOK10
Punctaj total100

Ceva nu functioneaza?