Borderou de evaluare (job #2357655)
Utilizator | Data | 27 februarie 2019 17:14:58 | |
---|---|---|---|
Problema | Lacuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool check(int, int)':
main.cpp:18:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,ok=0,x=dst[a][b];
^
main.cpp:18:13: warning: unused variable 'ok' [-Wunused-variable]
int i,j,ok=0,x=dst[a][b];
^~
main.cpp: In function 'int main()':
main.cpp:48:34: error: redeclaration of 'int x'
int poz=0,i,j,x,s=0,ok=1,l=0,x=1;
^
main.cpp:48:19: note: 'int x' previously declared here
int poz=0,i,j,x,s=0,ok=1,l=0,x=1;
^
main.cpp:48:9: warning: unused variable 'poz' [-Wunused-variable]
int poz=0,i,j,x,s=0,ok=1,l=0,x=1;
^~~
main.cpp:48:25: warning: unused variable 'ok' [-Wunused-variable]
int poz=0,i,j,x,s=0,ok=1,l=0,x=1;
^~
main.cpp:48:30: warning: unused variable 'l' [-Wunused-variable]
int poz=0,i,j,x,s=0,ok=1,l=0,x=1;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !