Borderou de evaluare (job #848124)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Push-Relabel (clasele 11-12) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 8 ian. 2026 13:40:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int A(int, int)':
main.cpp:16:19: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'short int'
16 | for(int &j=b[l];j<k;++j) {
| ~~~^
main.cpp: In function 'int main()':
main.cpp:41:37: error: 'l' was not declared in this scope
41 | a[e[i].first]=a[l]+1,q.push(e[i].first);
| ^