Borderou de evaluare (job #452559)
Utilizator | Data | 10 mai 2010 17:28:10 | |
---|---|---|---|
Problema | Misiune | Status | done |
Runda | teme_upb | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:23: error: 'int** time' redeclared as different kind of symbol
/usr/include/time.h:187: error: previous declaration of 'time_t time(time_t*)'
user.cpp: In function 'void read_data()':
user.cpp:125: error: assignment of function 'time_t time(time_t*)'
user.cpp:125: error: cannot convert 'int**' to 'time_t ()(time_t*)throw ()' in assignment
user.cpp:127: error: pointer to a function used in arithmetic
user.cpp:127: error: assignment of read-only location
user.cpp:127: error: cannot convert 'int*' to 'time_t ()(time_t*)' in assignment
user.cpp:152: error: pointer to a function used in arithmetic
user.cpp:152: error: pointer to a function used in arithmetic
user.cpp:152: error: assignment of read-only location
user.cpp:152: error: cannot convert 'int' to 'time_t ()(time_t*)' in assignment
user.cpp:153: error: pointer to a function used in arithmetic
user.cpp:153: error: pointer to a function used in arithmetic
user.cpp:153: error: assignment of read-only location
user.cpp:153: error: cannot convert 'int' to 'time_t ()(time_t*)' in assignment
user.cpp: In function 'void Dijikstra()':
user.cpp:245: error: pointer to a function used in arithmetic
user.cpp:245: error: pointer to a function used in arithmetic
user.cpp:245: error: cannot convert 'time_t (*)(time_t*)throw ()' to 'double' for argument '1' to 'double log(double)'
user.cpp:245: error: pointer to a function used in arithmetic
user.cpp:245: error: pointer to a function used in arithmetic
user.cpp:245: error: cannot convert 'time_t (*)(time_t*)throw ()' to 'double' for argument '1' to 'double log(double)'
user.cpp:248: error: pointer to a function used in arithmetic
user.cpp:248: error: pointer to a function used in arithmetic
user.cpp:248: error: cannot convert 'time_t (*)(time_t*)throw ()' to 'double' for argument '1' to 'double log(double)'
user.cpp:249: error: pointer to a function used in arithmetic
user.cpp:249: error: pointer to a function used in arithmetic
user.cpp:249: error: invalid operands of types 'int' and 'time_t ()(time_t*)' to binary 'operator*'
user.cpp:256: error: pointer to a function used in arithmetic
user.cpp:256: error: pointer to a function used in arithmetic
user.cpp:256: error: cannot convert 'time_t (*)(time_t*)throw ()' to 'double' for argument '1' to 'double log(double)'
user.cpp: In function 'int main()':
user.cpp:300: warning: unused variable 'j'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !