Borderou de evaluare (job #2872569)
Utilizator | Data | 17 martie 2022 13:53:55 | |
---|---|---|---|
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:99:18: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'int64_t' {aka 'long int'})
99 | fout << "0 " << (int64_t)n * n - 1 << '\n' << "1 1\n";
| ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~
| | |
| OutParser int64_t {aka long int}
main.cpp:33:16: note: candidate: 'OutParser& OutParser::operator<<(int)'
33 | OutParser& operator << (int vu32) {
| ^~~~~~~~
main.cpp:43:16: note: candidate: 'OutParser& OutParser::operator<<(long long int)'
43 | OutParser& operator << (long long vu64) {
| ^~~~~~~~
main.cpp:53:16: note: candidate: 'OutParser& OutParser::operator<<(char)'
53 | OutParser& operator << (char ch) {
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !