Pagini recente » Borderou de evaluare (job #3132293) | Borderou de evaluare (job #2440155) | Borderou de evaluare (job #917633) | Borderou de evaluare (job #1064295) | Borderou de evaluare (job #3146925)
Borderou de evaluare (job #3146925)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void FenwickTree<Type>::add(int, Type) [with Type = int]':
main.cpp:72:11: required from here
main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | while (poz<bit.size()) {
| ~~~^~~~~~~~~~~
main.cpp: In instantiation of 'void FenwickTree<Type>::assign(int, Type) [with Type = int]':
main.cpp:17:3: required from 'FenwickTree<Type>::FenwickTree(int, Type) [with Type = int]'
main.cpp:69:29: required from here
main.cpp:23:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int poz = 1; poz < bit.size(); poz++) {
| ~~~~^~~~~~~~~~~~
main.cpp:25:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if (poz+(poz&-poz)<bit.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 148ms | 2555kb | OK | 100 |
Punctaj total | 100 |