Borderou de evaluare (job #2779660)

Utilizator ArkinyStoica Alex Arkiny Data 4 octombrie 2021 17:34:00
Problema Rev Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void remake()': main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::deque<int>*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int i = 0; i < d.size(); ++i) | ~~^~~~~~~~~~ main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int j = 0; j < (*d[i]).size(); ++j) | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'void reverseInternal(int, int)': main.cpp:62:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::deque<int>*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (int i = 0; i < d.size(); ++i) | ~~^~~~~~~~~~ main.cpp:64:36: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 64 | if (acc_1 + (*d[i]).size() >= x) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:76:36: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 76 | if (acc_2 + (*d[i]).size() >= y) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:118:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = xi; i < (*d[b1]).size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:123:32: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 123 | while ((*d[b1]).size() != xi) | ~~~~~~~~~~~~~~~~^~~~~ main.cpp: In function 'int query(int)': main.cpp:175:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::deque<int>*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | for (int i = 0; i < d.size(); ++i) | ~~^~~~~~~~~~ main.cpp:177:36: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 177 | if (acc_1 + (*d[i]).size() >= k) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:231:10: error: 'sqrt' was not declared in this scope; did you mean 'sq'? 231 | sq = sqrt(N); | ^~~~ | sq Non zero exit status: 1

Ceva nu functioneaza?