Borderou de evaluare (job #3273572)

Utilizator popescubogdanPopescu Bogdan popescubogdan Data 2 februarie 2025 17:49:26
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, 1005] and [0, 1005] overlaps 1 byte at offset [0, 1004] [-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
81ms303kbWrong answer!0
91ms303kbWrong answer!0
102ms303kbWrong answer!0
112ms499kbWrong answer!0
121ms303kbWrong answer!0
131ms557kbWrong answer!0
142ms557kbWrong answer!0
151ms737kbWrong answer!0
161ms819kbWrong answer!0
171ms819kbWrong answer!0
181ms819kbWrong answer!0
Punctaj total6

Ceva nu functioneaza?