Borderou de evaluare (job #3031414)
Utilizator | Data | 19 martie 2023 20:39:46 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void shellsort(int*, int, int)':
main.cpp:18:25: warning: statement has no effect [-Wunused-value]
18 | k;
| ^
main.cpp: In function 'int main()':
main.cpp:30:24: error: expected ';' before 'shellsort'
30 | f>>v[i]
| ^
| ;
31 | shellsort(data, n);
| ~~~~~~~~~
main.cpp:33:17: error: 'gg' was not declared in this scope; did you mean 'g'?
33 | gg << data[i] << " ";
| ^~
| g
main.cpp:33:27: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
33 | gg << data[i] << " ";
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !