Borderou de evaluare (job #2905099)
Utilizator | Data | 19 mai 2022 16:20:43 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void schimb(int, int)':
main.cpp:10:29: error: expected ']' before ';' token
10 | poz[h[p2]=p2;
| ^
| ]
main.cpp: In function 'void urca(int)':
main.cpp:33:30: error: 'z' was not declared in this scope
33 | while(p>1&&v[h[p]]<v[h[p/z]])
| ^
main.cpp: In function 'int main()':
main.cpp:62:5: error: 'in' was not declared in this scope; did you mean 'n'?
62 | in>>s;
| ^~
| n
main.cpp:79:13: error: 'out' was not declared in this scope
79 | out<<v[h[1]]<<"\n";
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !