Borderou de evaluare (job #3167957)

Utilizator proflaurianPanaete Adrian proflaurian Data 11 noiembrie 2023 12:27:45
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: In file included from /usr/include/c++/12.2.1/map:60, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:81, from main.cpp:1: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Link_type, _Base_ptr, const _Key&) [with _Key = int; _Val = std::pair<const int, int>; _KeyOfValue = std::_Select1st<std::pair<const int, int> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >]', inlined from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = int; _Val = std::pair<const int, int>; _KeyOfValue = std::_Select1st<std::pair<const int, int> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >]' at /usr/include/c++/12.2.1/bits/stl_tree.h:1270:30, inlined from 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = int; _Tp = int; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >]' at /usr/include/c++/12.2.1/bits/stl_map.h:1307:32, inlined from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = int; _Tp = int; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >]' at /usr/include/c++/12.2.1/bits/stl_map.h:507:28, inlined from 'int main()' at main.cpp:14:14: /usr/include/c++/12.2.1/bits/stl_tree.h:1951:9: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 1951 | if (!_M_impl._M_key_compare(_S_key(__x), __k)) | ^~ main.cpp: In function 'int main()': main.cpp:13:13: note: 'x' was declared here 13 | int x; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
81ms303kbIncorect0
92ms303kbIncorect0
102ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?