Borderou de evaluare (job #361098)
Utilizator | Data | 3 noiembrie 2009 18:45:15 | |
---|---|---|---|
Problema | Numere 6 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:37:2: warning: no newline at end of file
user.cpp:4: error: 'int div [100]' redeclared as different kind of symbol
/usr/include/stdlib.h:706: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'void divizori()':
user.cpp:10: error: pointer to a function used in arithmetic
user.cpp:10: error: assignment of read-only location
user.cpp:10: error: cannot convert 'int' to 'div_t ()(int, int)' in assignment
user.cpp: In function 'void back(int)':
user.cpp:16: error: pointer to a function used in arithmetic
user.cpp:16: error: invalid conversion from 'div_t (*)(int, int)throw ()' to 'int'
user.cpp:17: error: pointer to a function used in arithmetic
user.cpp:17: error: invalid operands of types 'int' and 'div_t ()(int, int)' to binary 'operator*'
user.cpp:19: error: pointer to a function used in arithmetic
user.cpp:19: error: invalid operands of types 'int' and 'div_t ()(int, int)' to binary 'operator*'
user.cpp:19: error: in evaluation of 'operator*=(int, struct div_t ()(int, int))'
user.cpp:24: error: pointer to a function used in arithmetic
user.cpp:24: error: invalid operands of types 'int' and 'div_t ()(int, int)' to binary 'operator/'
user.cpp:24: error: in evaluation of 'operator/=(int, struct div_t ()(int, int))'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !