Borderou de evaluare (job #2932655)
Utilizator | Data | 3 noiembrie 2022 16:33:39 | |
---|---|---|---|
Problema | Hoața | Status | done |
Runda | hotomana | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:69:16: error: 'room' was not declared in this scope; did you mean 'rooms'?
69 | fin >> room[i].costPerGold >> room[i].weight >> room[i].limit;
| ^~~~
| rooms
main.cpp:75:5: error: 'destionation' was not declared in this scope; did you mean 'destination'?
75 | destionation = nrNodes;
| ^~~~~~~~~~~~
| destination
main.cpp:79:39: error: 'room' was not declared in this scope; did you mean 'rooms'?
79 | addEdge(pseudoSource, 2 + g, INF, room[i].costPerGold);
| ^~~~
| rooms
main.cpp:79:44: error: 'i' was not declared in this scope
79 | addEdge(pseudoSource, 2 + g, INF, room[i].costPerGold);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !