Borderou de evaluare (job #3273574)

Utilizator popescubogdanPopescu Bogdan popescubogdan Data 2 februarie 2025 17:51:24
Problema Multimi4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 6

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:160:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 160 | for(int i=0; i<strlen(expresie); i++) | ~^~~~~~~~~~~~~~~~~ main.cpp:215:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 215 | for(int i=0;i<lung[expresie[0]-'A'];i++) | ^~~ main.cpp:218:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 218 | return 0; | ^~~~~~ main.cpp:159:10: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 159 | bool ok=0; | ^~ main.cpp:207:19: warning: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets [0, 1010] and [0, 1010] overlaps 1 byte at offset [0, 1009] [-Wrestrict] 207 | strcpy(expresie+j+1,expresie+j+3); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!3
20ms303kbWrong answer!0
30ms303kbOK!3
40ms303kbWrong answer!0
50ms303kbWrong answer!0
60ms303kbWrong answer!0
711ms491kbKilled by Signal 110
82ms303kbWrong answer!0
92ms303kbWrong answer!0
104ms303kbWrong answer!0
113ms303kbWrong answer!0
122ms557kbWrong answer!0
132ms557kbWrong answer!0
144ms557kbWrong answer!0
153ms819kbWrong answer!0
161ms1056kbWrong answer!0
172ms819kbWrong answer!0
181ms819kbWrong answer!0
Punctaj total6

Ceva nu functioneaza?