Borderou de evaluare (job #3269362)

Utilizator stefanrotaruRotaru Stefan-Florin stefanrotaru Data 18 ianuarie 2025 19:47:01
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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 = std::pair<unsigned int, int>; _Alloc = std::allocator<std::pair<unsigned int, int> >]', inlined from 'long long int twoPointers(int)' at main.cpp:87:25: /usr/include/c++/12.2.1/bits/stl_vector.h:1601:24: warning: iteration 666012 invokes undefined behavior [-Waggressive-loop-optimizations] 1601 | { _M_erase_at_end(this->_M_impl._M_start); } | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'long long int twoPointers(int)': main.cpp:86:23: note: within this loop 86 | for (int i = 1; i <= MOD; ++i) { | ~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms303kbIncorect0
25ms2920kbIncorect0
39ms11710kbIncorect0
419ms17313kbIncorect0
519ms15929kbIncorect0
644ms20709kbIncorect0
783ms22687kbIncorect0
892ms22605kbIncorect0
9181ms30728kbIncorect0
10230ms36343kbIncorect0
Punctaj total0

Ceva nu functioneaza?