Borderou de evaluare (job #3141523)

Utilizator Ruxandra009Ruxandra Vasilescu Ruxandra009 Data 14 iulie 2023 12:29:08
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:50:34: warning: NULL used in arithmetic [-Wpointer-arith] 50 | if(sol[j] != NULL) | ^~~~ main.cpp:53:34: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 53 | sol[j - 1] = NULL; | ^~~~ main.cpp:72:34: warning: NULL used in arithmetic [-Wpointer-arith] 72 | if(sol[j] != NULL) | ^~~~ main.cpp:74:34: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 74 | sol[j - 1] = NULL; | ^~~~ main.cpp:98:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare] 98 | if(strlen(sol) != n) | ~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbRaspuns gresit!0
30ms303kbRaspuns gresit!0
40ms303kbRaspuns gresit!0
50ms303kbRaspuns gresit!0
60ms303kbRaspuns gresit!0
70ms303kbRaspuns gresit!0
82ms303kbRaspuns gresit!0
93ms303kbRaspuns gresit!0
105ms303kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?