Borderou de evaluare (job #365625)

Utilizator tvladTataranu Vlad tvlad Data 19 noiembrie 2009 14:45:04
Problema Trenuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:19: error: 'int time' redeclared as different kind of symbol /usr/include/time.h:187: error: previous declaration of 'time_t time(time_t*)' user.cpp: In function 'int main()': user.cpp:84: error: no matching function for call to 'bsearch(time_t (&)(time_t*)throw (), int&)' /usr/include/stdlib.h:682: note: candidates are: void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*)) user.cpp:60: note: void bsearch(int&, int&) user.cpp:85: warning: format '%d' expects type 'int', but argument 2 has type 'time_t (*)(time_t*)throw ()'

Ceva nu functioneaza?