Borderou de evaluare (job #2786557)
Utilizator | Data | 21 octombrie 2021 10:15:57 | |
---|---|---|---|
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 digit(int, int, int*)':
main.cpp:11:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
11 | { for(t=a;((9>=t)&&((0==D[t])||(0==(D[t]%2))));++t);
| ^~~
main.cpp:12:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
12 | if(9<t){for(t=a;0==D[t];++t);}D[t]-=1;
| ^~
main.cpp: In function 'int main()':
main.cpp:33:32: error: 'T' was not declared in this scope
33 | j=L-1-i,A[i]=(j<=i?T(i,L,D):A[j]);
| ^
main.cpp:35:32: error: 'T' was not declared in this scope
35 | j=R-1-i,B[i]=(j<=i?T(i,R,D):B[j]);
| ^
main.cpp:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
39 | for(G<<'\n',i=0;i<R;++i)
| ^~~
main.cpp:41:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | return 0;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !