Borderou de evaluare (job #3122382)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 18 aprilie 2023 20:24:15
Problema Calafat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:183:13: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'long int') 183 | cout<<c<<'\n'; | ~~~~^~~ | | | | | long int | OutParser main.cpp:97:16: note: candidate: 'OutParser& OutParser::operator<<(int)' 97 | OutParser& operator << (int vu32) { | ^~~~~~~~ main.cpp:107:16: note: candidate: 'OutParser& OutParser::operator<<(long long int)' 107 | OutParser& operator << (long long vu64) { | ^~~~~~~~ main.cpp:117:16: note: candidate: 'OutParser& OutParser::operator<<(char)' 117 | OutParser& operator << (char ch) { | ^~~~~~~~ main.cpp: At global scope: main.cpp:186:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 186 | main() | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?