Borderou de evaluare (job #1047934)

Utilizator Iustin_BulimarFMI Iustin Bulimar Iustin_Bulimar Data 4 decembrie 2013 23:52:12
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int cautare(std::vector<int>*, int)’: user.cpp:15:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<h[p].size(); ++i) ^ user.cpp: At global scope: user.cpp:25:6: error: expected unqualified-id before ‘delete’ void delete(vector<int>h[zone], int x) ^ user.cpp: In function ‘int main()’: user.cpp:41:28: warning: left operand of comma operator has no effect [-Wunused-value] if(t==2) delete(h, x); ^ user.cpp:41:29: error: type ‘int’ argument given to ‘delete’, expected pointer if(t==2) delete(h, x); ^

Ceva nu functioneaza?