Borderou de evaluare (job #2665463)

Utilizator ion232323Varga Ionut Antonio ion232323 Data 30 octombrie 2020 20:40:06
Problema Alibaba 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:13:19: error: 'nr' was not declared in this scope while(in>0 && nr[in-1]<nr[in]&& c<k) ^~ main.cpp:17:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<n-k;i++) ^~~ main.cpp:19:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:8:7: warning: unused variable 'j' [-Wunused-variable] int i,j,n,k,c=0,in=0; ^ Non zero exit status: 1

Ceva nu functioneaza?