Pagini recente » Borderou de evaluare (job #610388) | Borderou de evaluare (job #801796) | Borderou de evaluare (job #156497) | Borderou de evaluare (job #2349657) | Borderou de evaluare (job #3003425)
Borderou de evaluare (job #3003425)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:37:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 0; i < conn[pos].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::vector<int>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
59 | memset(conn, 0x0, sizeof conn);
| ^
In file included from /usr/include/c++/10/vector:67,
from /usr/include/c++/10/queue:61,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from main.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'class std::vector<int>' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
main.cpp:60:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::vector<int>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
60 | memset(vall, 0x0, sizeof vall);
| ^
In file included from /usr/include/c++/10/vector:67,
from /usr/include/c++/10/queue:61,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from main.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'class std::vector<int>' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 3067kb | Incorect | 0 | 0 |
2 | 10ms | 3198kb | Incorect | 0 | 0 |
3 | 8ms | 3276kb | Incorect | 0 | 0 |
4 | 17ms | 3997kb | Incorect | 0 | 0 |
5 | 28ms | 5189kb | Incorect | 0 | 0 |
6 | 73ms | 9043kb | Incorect | 0 | 0 |
7 | 84ms | 11264kb | Incorect | 0 | 0 |
8 | 37ms | 4943kb | Incorect | 0 |
9 | 80ms | 7213kb | Incorect | 0 |
10 | 80ms | 9601kb | Incorect | 0 |
Punctaj total | 0 |