Borderou de evaluare (job #2409736)

Utilizator theodor1289Theodor Amariucai theodor1289 Data 19 aprilie 2019 12:59:09
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:27: error: ISO C++ forbids declaration of 'removemax' with no type [-fpermissive] removemax(int arr[], int n) ^ main.cpp: In function 'int removemax(int*, int)': main.cpp:11:26: error: 'heapify' was not declared in this scope heapify(arr, i, 0); ^ main.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:59:17: error: 'arr' was not declared in this scope cout << arr[i] << ' '; ^~~ Non zero exit status: 1

Ceva nu functioneaza?