Borderou de evaluare (job #3031121)

Utilizator stefanbejan07Bejan Stefan stefanbejan07 Data 18 martie 2023 19:29:24
Problema Jetoane Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Task()': main.cpp:31:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 31 | for(map < int, int > :: iterator it = J.begin(); it != J.end(); ++ it) | ^~~ main.cpp:39:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 39 | fout << Min_J << " " << Max_J << " "; | ^~~~ main.cpp:40:11: error: 'sort' is not a member of 'std'; did you mean 'qsort'? 40 | std:: sort(I.begin(), I.end()); | ^~~~ | qsort main.cpp:41:11: error: 'sort' is not a member of 'std'; did you mean 'qsort'? 41 | std:: sort(G.begin(), G.end()); | ^~~~ | qsort Non zero exit status: 1

Ceva nu functioneaza?