Borderou de evaluare (job #2147954)
Utilizator | Data | 1 martie 2018 13:38:17 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:17: error: expected primary-expression before ‘<’ token
for(int i=1;<I=n;i++)
^
user.cpp:14:18: error: ‘I’ was not declared in this scope
for(int i=1;<I=n;i++)
^
user.cpp:16:28: error: expected primary-expression before ‘)’ token
for(int j=1;j<=n;j+)
^
user.cpp:18:18: error: ‘i’ was not declared in this scope
if(a[i][j]=='.')
^
user.cpp:39:33: error: ‘dl’ was not declared in this scope
y.first=x.first+dl[i];
^
user.cpp:40:35: error: ‘dc’ was not declared in this scope
y.second=x.second+dc[i];
^
user.cpp:41:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(d[y.first][y.second]=-1)
^
user.cpp:44:23: error: ‘class std::queue<std::pair<int, int> >’ has no member named ‘psuh’
q.psuh(y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !