Borderou de evaluare (job #3225633)
Utilizator | Data | 18 aprilie 2024 11:52:27 | |
---|---|---|---|
Problema | Padure | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int lee(int, int, int, int)':
main.cpp:8:22: error: 'p1' was not declared in this scope; did you mean 'pl'?
8 | q.push(make_pair(p1,pc));
| ^~
| pl
main.cpp:12:1: error: expected primary-expression before '}' token
12 | }
| ^
main.cpp:10:9: warning: unused variable 'i' [-Wunused-variable]
10 | int i,j,ii,jj;
| ^
main.cpp:10:11: warning: unused variable 'j' [-Wunused-variable]
10 | int i,j,ii,jj;
| ^
main.cpp:10:13: warning: unused variable 'ii' [-Wunused-variable]
10 | int i,j,ii,jj;
| ^~
main.cpp:10:16: warning: unused variable 'jj' [-Wunused-variable]
10 | int i,j,ii,jj;
| ^~
main.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
12 | }
| ^
main.cpp: In function 'int main()':
main.cpp:20:16: error: 'p1' was not declared in this scope; did you mean 'y1'?
20 | cin>>n>>m>>p1>>pc>>cl>>cc;
| ^~
| y1
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !