Borderou de evaluare (job #3375271)
Raport evaluator
Compilare:
In file included from /usr/include/c++/12.2.1/vector:64,
from /usr/include/c++/12.2.1/functional:62,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:71,
from main.cpp:1:
In member function 'constexpr void std::vector<_Tp, _Alloc>::clear() [with _Tp = int; _Alloc = std::allocator<int>]',
inlined from 'void init()' at main.cpp:18:19:
/usr/include/c++/12.2.1/bits/stl_vector.h:1601:24: warning: iteration 15004 invokes undefined behavior [-Waggressive-loop-optimizations]
1601 | { _M_erase_at_end(this->_M_impl._M_start); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void init()':
main.cpp:17:19: note: within this loop
17 | for(int i=1; i<=N; ++i){
| ~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 54ms | 2027kb | Incorect | 0 |
| Punctaj total | 0 |