Borderou de evaluare (job #424315)

Utilizator avatar mihainegru2002 Mihai Negru mihainegru2002 IP ascuns
Problemă Bomboane 1 (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 ian. 2019 19:40:36 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:32:39: error: call of overloaded ‘stoi(std::string&)’ is ambiguous user.cpp:32:39: note: candidates are: user.cpp:13:5: note: int stoi(std::string) /usr/include/c++/4.6/bits/basic_string.h:2764:3: note: int std::stoi(const string&, std::size_t*, int) user.cpp:33:42: error: call of overloaded ‘stoi(std::string&)’ is ambiguous user.cpp:33:42: note: candidates are: user.cpp:13:5: note: int stoi(std::string) /usr/include/c++/4.6/bits/basic_string.h:2764:3: note: int std::stoi(const string&, std::size_t*, int) user.cpp:33:61: error: call of overloaded ‘stoi(std::string&)’ is ambiguous user.cpp:33:61: note: candidates are: user.cpp:13:5: note: int stoi(std::string) /usr/include/c++/4.6/bits/basic_string.h:2764:3: note: int std::stoi(const string&, std::size_t*, int) user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:24:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]