Borderou de evaluare (job #3151157)

Utilizator moldovan_robert_lolMoldovan Robert moldovan_robert_lol Data 19 septembrie 2023 21:38:30
Problema Bvarcolaci Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void augment(int64_t&, int)': main.cpp:108:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 108 | for (int i = 0; i < aps[val].size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:124:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for (int i = 0; i < aps[val].size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In instantiation of 'void FenwickTree<Type>::add(int, Type) [with Type = int]': main.cpp:123:10: required from here main.cpp:34:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | while (poz<bit.size()) { | ~~~^~~~~~~~~~~ main.cpp: In instantiation of 'void FenwickTree<Type>::assign(int, Type) [with Type = int]': main.cpp:18:3: required from 'FenwickTree<Type>::FenwickTree(int, Type) [with Type = int]' main.cpp:122:43: required from here main.cpp:24:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for (int poz = 1; poz < bit.size(); poz++) { | ~~~~^~~~~~~~~~~~ main.cpp:26:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 26 | if (poz+(poz&-poz)<bit.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
21ms303kbIncorect0
32ms303kbIncorect0
42ms557kbIncorect0
53ms823kbIncorect0
64ms819kbIncorect0
77ms1208kbIncorect0
89ms1732kbIncorect0
99ms1896kbIncorect0
109ms1888kbIncorect0
1114ms2256kbIncorect0
1214ms2932kbIncorect0
1319ms3207kbIncorect0
1434ms3018kbIncorect0
1524ms3289kbIncorect0
1629ms4034kbIncorect0
1729ms4157kbIncorect0
1834ms4288kbIncorect0
1929ms4124kbIncorect0
2029ms4034kbIncorect0
Punctaj total0

Ceva nu functioneaza?