Borderou de evaluare (job #1490006)
Utilizator | Data | 22 septembrie 2015 16:50:51 | |
---|---|---|---|
Problema | Evantai | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void sum_aib::update(int, int, int)’:
user.cpp:19:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int xx = x; xx >= 0 && xx < v.size(); xx += (xx+1)&(-xx-1)){
^
user.cpp:20:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int yy = y; yy >= 0 && yy < v.size(); yy += (yy+1)&(-yy-1)){
^
user.cpp: In member function ‘int sum_aib::query(int, int)’:
user.cpp:25:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int xx = x; xx >= 0 && xx < v.size(); xx -= (xx+1)&(-xx-1)){
^
user.cpp:26:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int yy = y; yy >= 0 && yy < v.size(); yy -= (yy+1)&(-yy-1)){
^
user.cpp: In function ‘int main()’:
user.cpp:57:6: error: ‘class sum_aib’ has no member named ‘print’
sma.print();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !