Borderou de evaluare (job #1800667)
Utilizator | Data | 7 noiembrie 2016 22:42:11 | |
---|---|---|---|
Problema | Zoo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
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 !