Borderou de evaluare (job #1564061)
Utilizator | Data | 8 ianuarie 2016 00:19:02 | |
---|---|---|---|
Problema | CT | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void constrEuler(int, int)’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[x].size(); i++)
^
user.cpp: In function ‘void DFS(int)’:
user.cpp:51:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[x].size(); i++)
^
user.cpp:55:6: error: reference to ‘hash’ is ambiguous
if(hash[x])
^
user.cpp:10:16: note: candidates are: bool hash [100005]
bool viz[MAX], hash[MAX], elim[MAX];
^
In file included from /usr/include/c++/4.8/bits/stl_bvector.h:1134:0,
from /usr/include/c++/4.8/vector:65,
from user.cpp:3:
/usr/include/c++/4.8/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp:63:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[x].size(); i++)
^
user.cpp:69:13: error: reference to ‘hash’ is ambiguous
if(!out && hash[x]){
^
user.cpp:10:16: note: candidates are: bool hash [100005]
bool viz[MAX], hash[MAX], elim[MAX];
^
In file included from /usr/include/c++/4.8/bits/stl_bvector.h:1134:0,
from /usr/include/c++/4.8/vector:65,
from user.cpp:3:
/usr/include/c++/4.8/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp: In function ‘int main()’:
user.cpp:97:4: error: reference to ‘hash’ is ambiguous
hash[LCA(x, y)] = 1;
^
user.cpp:10:16: note: candidates are: bool hash [100005]
bool viz[MAX], hash[MAX], elim[MAX];
^
In file included from /usr/include/c++/4.8/bits/stl_bvector.h:1134:0,
from /usr/include/c++/4.8/vector:65,
from user.cpp:3:
/usr/include/c++/4.8/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp:79:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ct.in", "r", stdin);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !