Borderou de evaluare (job #2815517)

Utilizator CalinachoGherlan Calin Paul Calinacho Data 9 decembrie 2021 19:18:43
Problema Caramele Status done
Runda arhiva-vianu Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int bin_search(std::vector<int>&, int, bool)': main.cpp:59:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 59 | if (a.size() > p + answer && v[a[p + answer]].y < target) { | ~~~~~~~~~^~~~~~~~~~~~ main.cpp:63:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 63 | if (a.size() > p + answer && v[a[p + answer]].x < target) { | ~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/10/cassert:44, from main.cpp:6: main.cpp:70:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | assert(answer < a.size()); | ~~~~~~~^~~~~~~~~~ main.cpp:71:22: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 71 | assert(a[answer] < v.size()); main.cpp: In function 'int count_triangles()': main.cpp:89:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 89 | for(int i=0;i < v.size();i++) | ~~^~~~~~~~~~ main.cpp:106:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | for (int idx_line = start_id_lines + 1; idx_line < lines[v[i].x].size() ; ++ idx_line) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:120:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int idx_col = start_id_cols + 1; idx_col < cols[v[i].y].size() ; ++ idx_col) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void roteste(int)': main.cpp:144:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for(int i=0;i<v.size();i++){ | ~^~~~~~~~~ main.cpp:164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | for(int i=0;i<v.size();i++) | ~^~~~~~~~~ main.cpp:186:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 186 | for (int i = 0; i < v.size(); ++i) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
115ms3158kbOK5
230ms3211kbOK5
334ms3194kbOK5
430ms3190kbIncorect0
534ms3194kbIncorect0
625ms3219kbOK5
744ms3194kbOK5
8449ms4263kbOK5
9424ms4370kbIncorect0
10463ms4300kbIncorect0
111503ms3919kbTime limit exceeded0
12477ms4317kbIncorect0
13555ms4251kbIncorect0
14453ms4313kbOK5
15506ms4284kbIncorect0
16555ms4243kbIncorect0
17585ms4149kbOK5
18580ms4198kbOK5
19556ms4255kbIncorect0
20357ms4972kbOK5
Punctaj total50

Ceva nu functioneaza?