Borderou de evaluare (job #3360434)
| Utilizator | Data | 13 iulie 2026 20:11:47 | |
|---|---|---|---|
| Problema | Sudest | 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:28:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare]
28 | int row_step = i >= steps[k] ? cost[1 - k & 1][i - steps[k]][j] : -(1 << 20);
main.cpp:28:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
28 | int row_step = i >= steps[k] ? cost[1 - k & 1][i - steps[k]][j] : -(1 << 20);
| ~~^~~
main.cpp:29:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare]
29 | int col_step = j >= steps[k] ? cost[1 - k & 1][i][j - steps[k]] : -(1 << 20);
main.cpp:29:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
29 | int col_step = j >= steps[k] ? cost[1 - k & 1][i][j - steps[k]] : -(1 << 20);
| ~~^~~
main.cpp:50:10: error: 'reverse' is not a member of 'std'
50 | std::reverse(coordinates.begin(), coordinates.end());
| ^~~~~~~
main.cpp:52:19: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
52 | ofs << cost[1 - steps.size() & 1][potatoes - 1][potatoes - 1] << std::endl;
| ~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
