Borderou de evaluare (job #1100078)

Utilizator Dddarius95Darius-Florentin Neatu Dddarius95 Data 6 februarie 2014 16:28:54
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool cmp(int, int)’: user.cpp:19:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(Count >= Count[j]) return 1; ^ user.cpp: In function ‘void Read_Data()’: user.cpp:30:2: error: request for member ‘push_back’ in ‘V’, which is of non-class type ‘std::vector<short int> [10003]’ .push_back(y); ^ user.cpp:34:36: error: incompatible types in assignment of ‘int’ to ‘long int [10003]’ for(short i = 1; i <= N; Count = 1, ++i) ^ user.cpp:35:14: error: request for member ‘size’ in ‘V’, which is of non-class type ‘std::vector<short int> [10003]’ if(V.size() == 1) my_heap.push_back(i); ^

Ceva nu functioneaza?