Borderou de evaluare (job #2738045)

Utilizator CatalinPangaleanuCatalin Pangaleanu CatalinPangaleanu Data 5 aprilie 2021 13:58:58
Problema Multisum Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'std::vector<int> getCurrentSequence(bool, int, int)': main.cpp:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<ans.size();++i) ~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:110:50: error: expected ')' before '[' token if (/*!found*/ && aux_max_len[i]==max_len[i]) ^ main.cpp:110:65: warning: the address of 'aux_max_len' will always evaluate as 'true' [-Waddress] if (/*!found*/ && aux_max_len[i]==max_len[i]) ^ main.cpp:124:46: error: expected ')' before '[' token if (/*!found*/ && aux_max_len[i]==max_len[i]) ^ main.cpp:124:61: warning: the address of 'aux_max_len' will always evaluate as 'true' [-Waddress] if (/*!found*/ && aux_max_len[i]==max_len[i]) ^ main.cpp:110:39: error: label 'aux_max_len' used but not defined if (/*!found*/ && aux_max_len[i]==max_len[i]) ^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?