Borderou de evaluare (job #2293694)
Utilizator | Data | 1 decembrie 2018 14:32:54 | |
---|---|---|---|
Problema | Cool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int minimal(int*, int, int)':
main.cpp:22:13: error: 'nr1' was not declared in this scope
int mim=q[nr1];
^~~
main.cpp: In function 'bool cool(int*, int, int)':
main.cpp:31:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(maxi-mini!=k2-k1)
^~
main.cpp:33:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
for(ii=k1;ii<k2;++ii)
^~~
main.cpp:34:16: error: 'i' was not declared in this scope
for(jj=i+1;jj<=k2;++jj)
^
main.cpp: In function 'int main()':
main.cpp:66:17: error: 'zz' was not declared in this scope
for(zz=z+1;z<=n;++z)
^~
main.cpp:67:25: error: 'v' was not declared in this scope
if(cool(v,z,zz))
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !