Borderou de evaluare (job #3287221)
Utilizator | Data | 16 martie 2025 20:43:59 | |
---|---|---|---|
Problema | Boom | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:65:49: error: invalid types 'std::tuple_element<0, std::pair<long long int, int> >::type {aka long long int}[int]' for array subscript
65 | long long new_cost = cost + cost[i];
| ^
main.cpp:73:49: error: invalid types 'std::tuple_element<0, std::pair<long long int, int> >::type {aka long long int}[int]' for array subscript
73 | long long new_cost = cost + cost[i];
| ^
main.cpp:93:9: error: 'reverse' was not declared in this scope
93 | reverse(seq.begin(), seq.end());
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !