Borderou de evaluare (job #1566954)
Utilizator | Data | 12 ianuarie 2016 20:21:57 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:16: warning: statement has no effect [-Wunused-value]
d[x][y]==-1;}
^
user.cpp: In function ‘void lee()’:
user.cpp:36:31: error: cannot convert ‘std::pair<int, int>’ to ‘int’ in initialization
int x=Q.front()first;
^
user.cpp:36:32: error: expected ‘,’ or ‘;’ before ‘first’
int x=Q.front()first;
^
user.cpp:37:31: error: cannot convert ‘std::pair<int, int>’ to ‘int’ in initialization
int y=Q.front()second;
^
user.cpp:37:32: error: expected ‘,’ or ‘;’ before ‘second’
int y=Q.front()second;
^
user.cpp:42:31: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
int xnou=x+d[x];
^
user.cpp:43:31: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
int ynou=y+d[y];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !