Borderou de evaluare (job #3298731)

Utilizator ifrimdragosIfrim Dragos ifrimdragos Data 1 iunie 2025 08:10:42
Problema Divseq 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:29:25: warning: for increment expression has no effect [-Wunused-value] 29 | for(j=i+1;j<n;ok==1;j++) | ~~^~~ main.cpp:29:28: error: expected ')' before ';' token 29 | for(j=i+1;j<n;ok==1;j++) | ~ ^ | ) main.cpp:29:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 29 | for(j=i+1;j<n;ok==1;j++) | ^~~ main.cpp:29:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 29 | for(j=i+1;j<n;ok==1;j++) | ^ main.cpp:29:32: error: expected ';' before ')' token 29 | for(j=i+1;j<n;ok==1;j++) | ^ | ; Non zero exit status: 1

Ceva nu functioneaza?