Borderou de evaluare (job #2705750)
Utilizator | Data | 13 februarie 2021 11:17:26 | |
---|---|---|---|
Problema | Immortal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read()':
main.cpp:23:9: warning: unused variable 'ind' [-Wunused-variable]
int ind = -1;
^~~
main.cpp: In function 'void bkt(int)':
main.cpp:80:166: error: expected primary-expression before ')' token
if(a[newx][newy] and newx >= 1 and newx <= n and newy>=1 and newy<=m and jumpx >= 1 and jumpx <= n and jumpy>=1 and jumpy<=m and a[jumpx][jumpy] == 0 and)
^
main.cpp:86:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<immortals.size(); i++)
~^~~~~~~~~~~~~~~~~
main.cpp:91:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<immortals.size(); i++)
~^~~~~~~~~~~~~~~~~
main.cpp:114:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<immortals.size(); i++)
~^~~~~~~~~~~~~~~~~
main.cpp:132:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:136:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:141:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:147:1: error: expected '}' at end of input
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !