Borderou de evaluare (job #1717996)
Utilizator | Data | 16 iunie 2016 12:32:20 | |
---|---|---|---|
Problema | Petrica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:31:18: error: ‘std::vector<int> y0’ redeclared as different kind of symbol
vector <int> x0, y0;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420,
from /usr/include/c++/4.8/iosfwd:38,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:242:1: error: previous declaration of ‘double y0(double)’
__MATHCALL (y0,, (_Mdouble_));
^
user.cpp: In function ‘void scoate_muchiile(int)’:
user.cpp:46:13: warning: pointer to a function used in arithmetic [-Wpointer-arith]
y = y0[I];
^
user.cpp:46:13: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp: In function ‘void pune_la_loc(int)’:
user.cpp:54:13: warning: pointer to a function used in arithmetic [-Wpointer-arith]
y = y0[I];
^
user.cpp:54:13: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp: In function ‘int main()’:
user.cpp:70:16: error: request for member ‘push_back’ in ‘y0’, which is of non-class type ‘double(double)throw ()’
y0.push_back(y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !