Borderou de evaluare (job #3146925)

Utilizator moldovan_robert_lolMoldovan Robert moldovan_robert_lol Data 23 august 2023 11:26:14
Problema Baruri Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

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
1148ms2555kbOK100
Punctaj total100

Ceva nu functioneaza?