Borderou de evaluare (job #2329321)
Utilizator | Data | 26 ianuarie 2019 16:12:58 | |
---|---|---|---|
Problema | Betasah | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void mutare(int, int)':
main.cpp:19:42: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
unsigned int dl[]={-1,-1,0,1,1,1,0,-1},dc[]={0,1,1,1,0,-1,-1,-1},dir;
^
main.cpp:19:42: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:19:42: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:19:68: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
unsigned int dl[]={-1,-1,0,1,1,1,0,-1},dc[]={0,1,1,1,0,-1,-1,-1},dir;
^
main.cpp:19:68: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:19:68: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !