Borderou de evaluare (job #3222883)

Utilizator Theo20067Cismaru Theodor-Alexe Theo20067 Data 11 aprilie 2024 20:06:00
Problema Drumuri5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:224:9: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'std::vector<int>::size_type' {aka 'long unsigned int'}) 224 | fout<<sol.size()<<'\n'; | ~~~~^~~~~~~~~~~~ | | | | OutParser std::vector<int>::size_type {aka long unsigned int} main.cpp:92:16: note: candidate: 'OutParser& OutParser::operator<<(int)' 92 | OutParser& operator << (int vu32) { | ^~~~~~~~ main.cpp:102:16: note: candidate: 'OutParser& OutParser::operator<<(long long int)' 102 | OutParser& operator << (long long vu64) { | ^~~~~~~~ main.cpp:112:16: note: candidate: 'OutParser& OutParser::operator<<(char)' 112 | OutParser& operator << (char ch) { | ^~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?