Borderou de evaluare (job #2859389)

Utilizator rareshinnhoMiroiu Rares rareshinnho Data 1 martie 2022 11:48:03
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 14 | for(int i=1;i<=n;i++) | ^~~ main.cpp:16:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 16 | for(int j=1;(1<<j)<=n;j++) | ^~~ main.cpp:18:48: error: expected ')' before ']' token 18 | d[i][j]=min(d[i][j-1],d[i+(1<<(j-1)][j-1]); | ~ ^ | ) main.cpp:18:55: error: expected ']' before ';' token 18 | d[i][j]=min(d[i][j-1],d[i+(1<<(j-1)][j-1]); | ^ | ] main.cpp:18:55: error: expected ')' before ';' token 18 | d[i][j]=min(d[i][j-1],d[i+(1<<(j-1)][j-1]); | ~ ^ | ) Non zero exit status: 1

Ceva nu functioneaza?