Borderou de evaluare (job #2583381)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 18 martie 2020 10:37:10
Problema Mcript Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=m;i++) ^~~ main.cpp:27:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' std::sort(a+1,a+m+1); ^~~ main.cpp:27:2: error: 'sort' is not a member of 'std' main.cpp:40:17: error: 'binary_search' is not a member of 'std' if (std::binary_search(a+1,a+m+1,nr)) ^~~ Non zero exit status: 1

Ceva nu functioneaza?