Borderou de evaluare (job #2786549)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 21 octombrie 2021 10:07:35
Problema Pal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int T(int, int, int*)': main.cpp:12:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 12 | for(t=a;t<10&&(!D[t]||!(D[t]%2));++t); | ^~~ main.cpp:13:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 13 | if(9<t) | ^~ main.cpp: In function 'int main()': main.cpp:37:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 37 | if(R>i) | ^~ main.cpp:38:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 38 | j=R-1-i;B[i]=(j<=i?T(i,R,D):B[j]; | ^ main.cpp:38:45: error: expected ')' before ';' token 38 | j=R-1-i;B[i]=(j<=i?T(i,R,D):B[j]; | ~ ^ | ) main.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 42 | for(G<<'\n',i=0;i<R;++i) | ^~~ main.cpp:44:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 44 | return 0; | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?