Borderou de evaluare (job #2895165)
Utilizator | Data | 28 aprilie 2022 19:49:03 | |
---|---|---|---|
Problema | Struti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void first_pos(int, int)':
main.cpp:19:39: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
19 | while(!dqmax.empty() and a[dqmax.back()][j] <= a[i][j]){
| ^
main.cpp:19:61: error: invalid types 'int[int]' for array subscript
19 | while(!dqmax.empty() and a[dqmax.back()][j] <= a[i][j]){
| ^
main.cpp:22:39: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
22 | while(!dqmin.empty() and a[dqmin.back()][j] >= a[i][j]){
| ^
main.cpp:22:61: error: invalid types 'int[int]' for array subscript
22 | while(!dqmin.empty() and a[dqmin.back()][j] >= a[i][j]){
| ^
main.cpp:34:31: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
34 | maxx[i][j] = a[dqmax.front()][j];
| ^
main.cpp:35:31: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
35 | minn[i][j] = a[dqmin.front()][j];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !