Pagini recente » Borderou de evaluare (job #1257740) | Borderou de evaluare (job #108129) | Borderou de evaluare (job #1432850) | Borderou de evaluare (job #382591) | Borderou de evaluare (job #2815528)
Borderou de evaluare (job #2815528)
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:119:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | for (int idx_col = start_id_cols + 1; idx_col < cols[v[i].y].size() ; ++ idx_col)
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:123:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
123 | if (coresp_line < lines[v[i].x].size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void roteste(int)':
main.cpp:141:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
141 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~
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:154:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
154 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 15ms | 3153kb | OK | 5 |
2 | 20ms | 3198kb | OK | 5 |
3 | 20ms | 3190kb | OK | 5 |
4 | 20ms | 3186kb | OK | 5 |
5 | 20ms | 3190kb | OK | 5 |
6 | 20ms | 3231kb | OK | 5 |
7 | 25ms | 3190kb | OK | 5 |
8 | 154ms | 4210kb | OK | 5 |
9 | 203ms | 4259kb | OK | 5 |
10 | 236ms | 4243kb | OK | 5 |
11 | 1109ms | 4096kb | OK | 5 |
12 | 246ms | 4272kb | OK | 5 |
13 | 323ms | 4177kb | OK | 5 |
14 | 155ms | 4308kb | OK | 5 |
15 | 279ms | 4186kb | OK | 5 |
16 | 323ms | 4128kb | OK | 5 |
17 | 198ms | 4149kb | OK | 5 |
18 | 193ms | 4165kb | OK | 5 |
19 | 323ms | 4214kb | OK | 5 |
20 | 125ms | 4837kb | OK | 5 |
Punctaj total | 100 |