Borderou de evaluare (job #1804552)
Utilizator | Data | 12 noiembrie 2016 18:48:53 | |
---|---|---|---|
Problema | Trilant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:16:23: error: ‘int index’ redeclared as different kind of symbol
int dad[3][1 + MAXN], index;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from user.cpp:4:
/usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In member function ‘bool Compare::operator()(const int&, const int&)’:
user.cpp:23:30: error: invalid types ‘long long int [3][100001][<unresolved overloaded function type>]’ for array subscript
return best[index][x] > best[index][y];
^
user.cpp:23:47: error: invalid types ‘long long int [3][100001][<unresolved overloaded function type>]’ for array subscript
return best[index][x] > best[index][y];
^
user.cpp: In function ‘void Dijkstra(int, int, int)’:
user.cpp:30:11: error: overloaded function with no contextual type information
index = which;
^
user.cpp: In member function ‘bool Compare::operator()(const int&, const int&)’:
user.cpp:24:9: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !