Borderou de evaluare (job #3213036)

Utilizator camelia22Dragoiu Camelia camelia22 Data 12 martie 2024 13:33:07
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int maxim(int, int, int, int, int)': main.cpp:55:29: warning: top-level comma expression in array subscript is deprecated [-Wcomma-subscript] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^ main.cpp:55:26: warning: left operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ~~~~^~~ main.cpp:55:35: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^~~ main.cpp:55:40: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^ main.cpp:55:43: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^ main.cpp:55:60: warning: top-level comma expression in array subscript is deprecated [-Wcomma-subscript] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^ main.cpp:55:57: warning: left operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ~~~~~~~~^~~ main.cpp:55:66: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ~~~~^~~ main.cpp:55:75: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^ main.cpp:55:78: warning: right operand of comma operator has no effect [-Wunused-value] 55 | return max(A[nod * 2, st, mij, a, b], A[nod * 2 + 1, mij + 1, dr, a, b]); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
21ms303kbIncorect00
32ms303kbIncorect00
46ms557kbIncorect00
59ms1609kbIncorect00
69ms1867kbIncorect00
719ms2207kbIncorect0
824ms2015kbIncorect0
924ms2052kbIncorect0
1024ms2056kbIncorect0
Punctaj total0

Ceva nu functioneaza?