Borderou de evaluare (job #546328)

Utilizator avatar IoanPet2001 Iona Petrica IoanPet2001 IP ascuns
Problemă Dispozitiv (Lot Juniori) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2020 16:21:00 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int compare(const void*, const void*)’: user.cpp:24:20: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:24:20: note: candidates are: user.cpp:8:8: note: per::per() user.cpp:8:8: note: candidate expects 0 arguments, 1 provided user.cpp:8:8: note: constexpr per::per(const per&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:8:8: note: constexpr per::per(per&&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:24:33: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:24:33: note: candidates are: user.cpp:8:8: note: per::per() user.cpp:8:8: note: candidate expects 0 arguments, 1 provided user.cpp:8:8: note: constexpr per::per(const per&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:8:8: note: constexpr per::per(per&&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:27:16: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:27:16: note: candidates are: user.cpp:8:8: note: per::per() user.cpp:8:8: note: candidate expects 0 arguments, 1 provided user.cpp:8:8: note: constexpr per::per(const per&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:8:8: note: constexpr per::per(per&&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’ user.cpp:27:31: error: no matching function for call to ‘per::per(const void*&)’ user.cpp:27:31: note: candidates are: user.cpp:8:8: note: per::per() user.cpp:8:8: note: candidate expects 0 arguments, 1 provided user.cpp:8:8: note: constexpr per::per(const per&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘const per&’ user.cpp:8:8: note: constexpr per::per(per&&) user.cpp:8:8: note: no known conversion for argument 1 from ‘const void*’ to ‘per&&’