Borderou de evaluare (job #554832)

Utilizator mihaionlyMihai Jiplea mihaionly Data 15 martie 2011 09:46:48
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'void upheap(int)': user.cpp:24: error: invalid initialization of reference of type 'long long int&' from expression of type 'int' user.cpp:11: error: in passing argument 1 of 'void swap(long long int&, long long int&)' user.cpp: In function 'void dheap(int)': user.cpp:41: error: invalid initialization of reference of type 'long long int&' from expression of type 'int' user.cpp:11: error: in passing argument 1 of 'void swap(long long int&, long long int&)' user.cpp: In function 'int main()': user.cpp:69: error: invalid initialization of reference of type 'long long int&' from expression of type 'int' user.cpp:11: error: in passing argument 1 of 'void swap(long long int&, long long int&)'

Ceva nu functioneaza?