Borderou de evaluare (job #642033)
Utilizator | Data | 30 noiembrie 2011 14:34:42 | |
---|---|---|---|
Problema | Smart | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:35: error: ‘int time’ redeclared as different kind of symbol
/usr/include/time.h:186: error: previous declaration of ‘time_t time(time_t*)’
user.cpp: In function ‘int main()’:
user.cpp:52: warning: the address of ‘time_t time(time_t*)’ will always evaluate as ‘true’
user.cpp: In function ‘void Solve()’:
user.cpp:59: error: assignment of function ‘time_t time(time_t*)’
user.cpp:59: error: cannot convert ‘int’ to ‘time_t(time_t*)throw ()’ in assignment
user.cpp:61: error: ISO C++ forbids incrementing a pointer of type ‘time_t (*)(time_t*)throw ()’
user.cpp:61: error: lvalue required as increment operand
user.cpp: In function ‘bool FindPath()’:
user.cpp:150: error: ISO C++ forbids comparison between pointer and integer
user.cpp:157: error: no match for ‘operator==’ in ‘std::make_pair [with _T1 = int, _T2 = int](j, (t + 1)) == std::make_pair [with _T1 = int, _T2 = time_t (*)(time_t*)throw ()](D, time)’
user.cpp: In function ‘void Augment()’:
user.cpp:182: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !