Borderou de evaluare (job #2872563)

Utilizator Alex_tz307Lorintz Alexandru Alex_tz307 Data 17 martie 2022 13:35:18
Problema Robotei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void testCase()': main.cpp:153:24: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'int64_t' {aka 'long int'}) 153 | fout << i << ' ' << sol[i] << '\n'; | ~~~~~~~~~~~~~~~~ ^~ ~~~~~~ | | | | OutParser int64_t {aka long int} main.cpp:34:16: note: candidate: 'OutParser& OutParser::operator<<(int)' 34 | OutParser& operator << (int vu32) { | ^~~~~~~~ main.cpp:44:16: note: candidate: 'OutParser& OutParser::operator<<(long long int)' 44 | OutParser& operator << (long long vu64) { | ^~~~~~~~ main.cpp:54:16: note: candidate: 'OutParser& OutParser::operator<<(char)' 54 | OutParser& operator << (char ch) { | ^~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?