Borderou de evaluare (job #495347)

Utilizator avatar Hey_Hey Denis Iacovlev Hey_Hey IP ascuns
Problemă Sword Art Online Compilator cpp
Rundă lasm_22_10_cl11_12 Status evaluat
Dată 22 oct. 2019 22:13:20 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:13:8: error: 'r' was not declared in this scope user.cpp:17:9: error: 'r' was not declared in this scope user.cpp:18:25: error: reference to 'min' is ambiguous user.cpp:7:21: error: candidates are: int min /usr/include/c++/4.6/bits/stl_algo.h:4189:5: error: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare) /usr/include/c++/4.6/bits/stl_algo.h:4184:5: error: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>) /usr/include/c++/4.6/bits/stl_algobase.h:233:5: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.6/bits/stl_algobase.h:187:5: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:18:30: error: reference to 'min' is ambiguous user.cpp:7:21: error: candidates are: int min /usr/include/c++/4.6/bits/stl_algo.h:4189:5: error: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare) /usr/include/c++/4.6/bits/stl_algo.h:4184:5: error: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>) /usr/include/c++/4.6/bits/stl_algobase.h:233:5: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.6/bits/stl_algobase.h:187:5: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)