Pagini recente » Borderou de evaluare (job #3177945) | Borderou de evaluare (job #1897596) | Borderou de evaluare (job #3187591) | Borderou de evaluare (job #1914689) | Borderou de evaluare (job #3170017)
Borderou de evaluare (job #3170017)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61:9: warning: unused variable 'ck' [-Wunused-variable]
61 | int ck = k;
| ^~
In file included from /usr/include/c++/12.2.1/bits/char_traits.h:46,
from /usr/include/c++/12.2.1/ios:40,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/fstream:38,
from main.cpp:1:
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<int, int>; _Args = {pair<int, int>}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, int>; _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/vector.tcc:117:30,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21,
inlined from 'int main()' at main.cpp:77:22:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:73: warning: 'dj' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^
main.cpp: In function 'int main()':
main.cpp:66:36: note: 'dj' was declared here
66 | int mnval = (1 << 30), di, dj;
| ^~
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<int, int>; _Args = {pair<int, int>}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, int>; _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/vector.tcc:117:30,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21,
inlined from 'int main()' at main.cpp:77:22:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:73: warning: 'di' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^
main.cpp: In function 'int main()':
main.cpp:66:32: note: 'di' was declared here
66 | int mnval = (1 << 30), di, dj;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | OK | 10 |
2 | 0ms | 557kb | OK | 10 |
3 | 0ms | 557kb | OK | 10 |
4 | 1ms | 819kb | OK | 10 |
5 | 2ms | 1343kb | OK | 10 |
6 | 2ms | 1343kb | OK | 10 |
7 | 2ms | 1343kb | OK | 10 |
8 | 3ms | 1343kb | OK | 10 |
9 | 3ms | 1605kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |