Borderou de evaluare (job #2646340)
Utilizator | Data | 31 august 2020 20:29:09 | |
---|---|---|---|
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, int*, int, int)':
main.cpp:10:41: error: 'long long int f(int, int*, int, int)' redeclared as different kind of symbol
long long f(int x, int v[], int n, int k)
^
main.cpp:7:10: note: previous declaration 'std::ifstream f'
ifstream f("pikachu.in");
^
main.cpp: In function 'int main()':
main.cpp:33:25: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int, int [100001], int&, int&)'
if(f(m-1,v, n, k) > f(m+1,v, n, k))
^
main.cpp:33:42: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int, int [100001], int&, int&)'
if(f(m-1,v, n, k) > f(m+1,v, n, k))
^
main.cpp:38:20: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int&, int [100001], int&, int&)'
g<<f(st,v, n, k);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !