Borderou de evaluare (job #1800664)
Utilizator | Data | 7 noiembrie 2016 22:41:29 | |
---|---|---|---|
Problema | Zoo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:52:5: error: ‘int y1’ redeclared as different kind of symbol
int y1;
^
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:243:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘void buildAINT(int, int, int)’:
user.cpp:67:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < AINT[lv * 2].size() && j < AINT[lv * 2 + 1].size())
^
user.cpp:67:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < AINT[lv * 2].size() && j < AINT[lv * 2 + 1].size())
^
user.cpp:81:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < AINT[lv * 2].size(); ++i)
^
user.cpp:86:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; j < AINT[lv * 2 + 1].size(); ++j)
^
user.cpp: In function ‘int query(int, int, int, int, std::pair<int, int>, int)’:
user.cpp:97:73: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (inter.first <0 || (inter.first >= 0 && AINT[lv][inter.first].val <y1))
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !