Borderou de evaluare (job #2815526)

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

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:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 110 | if (coresp_col < cols[v[i].y].size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:122:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 122 | for (int idx_col = start_id_cols + 1; idx_col < cols[v[i].y].size() ; ++ idx_col) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:126:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | if (coresp_line < lines[v[i].x].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void roteste(int)': main.cpp:147:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 147 | for(int i=0;i<v.size();i++){ | ~^~~~~~~~~ main.cpp:153:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for(int i=0;i<v.size();i++) | ~^~~~~~~~~ main.cpp:160:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = 0; i < v.size(); ++i) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms3153kbOK5
220ms3190kbOK5
320ms3190kbOK5
420ms3186kbOK5
520ms3182kbOK5
620ms3231kbOK5
725ms3190kbOK5
8154ms4186kbOK5
9202ms4247kbOK5
10240ms4231kbOK5
111111ms4096kbOK5
12246ms4259kbOK5
13323ms4177kbOK5
14154ms4308kbOK5
15279ms4259kbOK5
16323ms4169kbOK5
17203ms4198kbOK5
18193ms4190kbOK5
19323ms4169kbOK5
20125ms4841kbOK5
Punctaj total100

Ceva nu functioneaza?