Borderou de evaluare (job #2755828)
Utilizator | Data | 28 mai 2021 14:36:39 | |
---|---|---|---|
Problema | Pikachu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int f(int)':
main.cpp:9:18: error: 'long long int f(int)' redeclared as different kind of symbol
long long f(int m){
^
main.cpp:5:10: note: previous declaration 'std::ifstream f'
ifstream f ("pikachu.in");
^
main.cpp: In function 'int main()':
main.cpp:30:16: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (long long int&)'
X = f(m);
^
main.cpp:31:20: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (long long int)'
Y = f(m - 1);
^
main.cpp:32:20: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (long long int)'
Z = f(m + 1);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !