Borderou de evaluare (job #2394141)
Utilizator | Data | 1 aprilie 2019 12:41:01 | |
---|---|---|---|
Problema | Insule | 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:75:178: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(prel.lin >=1 && prel.lin <=n && prel.col >=1 && prel.col <=m && A[prel.lin][prel.col]>0 && abs(coada[in].lin-prel.lin)+abs(coada[in].col-prel.col)<A[prel.lin][prel.col]>0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:86:130: error: expected primary-expression before ']' token
if(prel.lin >=1 && prel.lin <=n && prel.col >=1 && prel.col <=m && A[prel.lin][prel.col]==-2 &&A[] && A[curent.lin][curent.col]<mini)
^
main.cpp:95:18: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for(j=1;j<=m;j++)
^~~
main.cpp:97:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cout<<endl;}
^~~~
main.cpp:98:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=3;i++)
^~~
main.cpp:100:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cout<<mini;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !