Borderou de evaluare (job #3354250)

Utilizator aspaAlexandru Valentin Grigorescu aspa Data 16 mai 2026 22:35:51
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::insert(std::vector<std::__cxx11::basic_string<char> >, int)': main.cpp:20:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | while(i < s.size() && comp->children.find(s[i]) != comp->children.end()){ | ~~^~~~~~~~~~ main.cpp:25:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | while(i < s.size()){ | ~~^~~~~~~~~~ In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/sstream:38, from /usr/include/c++/12.2.1/complex:45, from /usr/include/c++/12.2.1/ccomplex:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:101:21: /usr/include/c++/12.2.1/ostream:206:25: warning: 'ind_min' may be used uninitialized [-Wmaybe-uninitialized] 206 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:74:47: note: 'ind_min' was declared here 74 | unsigned long long temp_max = 0, ind_max, ind_min, max = 0; | ^~~~~~~ In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:101:35: /usr/include/c++/12.2.1/ostream:206:25: warning: 'ind_max' may be used uninitialized [-Wmaybe-uninitialized] 206 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:74:38: note: 'ind_max' was declared here 74 | unsigned long long temp_max = 0, ind_max, ind_min, max = 0; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOk... pentru moment55
20ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
32ms1343kbOk... pentru moment55
439ms25792kbBine, Ionel!55
5127ms65744kbTime limit exceeded00
6128ms65699kbTime limit exceeded00
7128ms64483kbTime limit exceeded00
8128ms64802kbTime limit exceeded00
9128ms6770kbTime limit exceeded00
10128ms6926kbTime limit exceeded00
110ms303kbOk... pentru moment55
120ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
131ms1081kbOk... pentru moment55
1437ms22134kbOk... pentru moment55
15127ms22855kbTime limit exceeded00
16128ms23068kbTime limit exceeded0
17128ms51167kbTime limit exceeded0
18128ms52563kbTime limit exceeded00
19128ms6795kbTime limit exceeded0
20129ms6914kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?