Borderou de evaluare (job #2848940)

Utilizator AndreiAlexandru2k3Ciucan Andrei Alexandru AndreiAlexandru2k3 Data 14 februarie 2022 11:31:51
Problema Banda 1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:107:9: warning: array subscript 5 is outside array bounds of 'solutie [4]' [-Warray-bounds] 107 | sort(ans + 1, ans + 5, comp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:9: note: while referencing 'ans' 19 | solutie ans[4]; | ^~~ main.cpp:107:9: warning: array subscript 5 is outside array bounds of 'solutie [4]' [-Warray-bounds] 107 | sort(ans + 1, ans + 5, comp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:9: note: while referencing 'ans' 19 | solutie ans[4]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
22ms184kbOK10
311ms274kbIncorect0
450ms200kbIncorect0
5166ms274kbIncorect0
6190ms200kbOK10
798ms200kbOK10
898ms200kbOK10
9194ms274kbOK10
102ms184kbIncorect0
Punctaj total50

Ceva nu functioneaza?