Borderou de evaluare (job #2809705)
Utilizator | Data | 27 noiembrie 2021 13:42:10 | |
---|---|---|---|
Problema | Bila | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:18: error: 'int G(int, int)' redeclared as different kind of entity
7 | int G(int x,int y)
| ^
main.cpp:4:10: note: previous declaration 'std::ofstream G'
4 | ofstream G("bila.out");
| ^
main.cpp: In function 'int G(int, int)':
main.cpp:19:32: error: no match for call to '(std::ofstream {aka std::basic_ofstream<char>}) (int, int)'
19 | return b[x][y]=G(x+c[p],y+d[p])+1;
| ^
main.cpp: In function 'int main()':
main.cpp:28:11: error: no match for call to '(std::ofstream {aka std::basic_ofstream<char>}) (short unsigned int&, short unsigned int&)'
28 | r=G(i,j);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !