Borderou de evaluare (job #1803434)
Utilizator | Data | 11 noiembrie 2016 14:06:47 | |
---|---|---|---|
Problema | Kdist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int64 BuildLcaTree(int)’:
user.cpp:291:26: error: reference to ‘function’ is ambiguous
RadixPass(nodes, function, 0, numNodes, 32);
^
user.cpp:278:7: note: candidates are: int64 function [200000]
int64 function[NMAX];
^
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:5:
/usr/include/c++/4.8/functional:1866:11: note: template<class _Signature> class std::function
class function;
^
user.cpp:293:30: error: reference to ‘function’ is ambiguous
InsertionSort(nodes, function, 0, numNodes);
^
user.cpp:278:7: note: candidates are: int64 function [200000]
int64 function[NMAX];
^
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:5:
/usr/include/c++/4.8/functional:1866:11: note: template<class _Signature> class std::function
class function;
^
user.cpp:302:26: error: reference to ‘function’ is ambiguous
RadixPass(nodes, function, numNodes, numNodes + numNodes - 1, 32);
^
user.cpp:278:7: note: candidates are: int64 function [200000]
int64 function[NMAX];
^
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:5:
/usr/include/c++/4.8/functional:1866:11: note: template<class _Signature> class std::function
class function;
^
user.cpp:304:30: error: reference to ‘function’ is ambiguous
InsertionSort(nodes, function, numNodes, numNodes + numNodes - 1);
^
user.cpp:278:7: note: candidates are: int64 function [200000]
int64 function[NMAX];
^
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:5:
/usr/include/c++/4.8/functional:1866:11: note: template<class _Signature> class std::function
class function;
^
user.cpp:307:18: error: reference to ‘function’ is ambiguous
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !