Borderou de evaluare (job #2458134)

Utilizator R3v1v3RAlexe Paul R3v1v3R Data 19 septembrie 2019 18:49:23
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int cb(int, int)': main.cpp:23:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s[mij]==cc) ^~ main.cpp:25:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(s[mij]<cc && s[mij+1]>cc) ^~ main.cpp: In function 'int main()': main.cpp:54:33: error: 'bn' was not declared in this scope fout<<bn(str,s[str-1]+nr)<<'\n'; ^ main.cpp:42:10: warning: unused variable 'j' [-Wunused-variable] int i,j,k,nr,str; ^ Non zero exit status: 1

Ceva nu functioneaza?