Borderou de evaluare (job #3302620)

Utilizator Tudor_CCTudor Cocu Tudor_CC Data 9 iulie 2025 15:40:42
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | while(in<s.size()) | ~~^~~~~~~~~ main.cpp:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | while(in<s.size()) | ~~^~~~~~~~~ main.cpp:94:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | while(in<s.size()) | ~~^~~~~~~~~ main.cpp:121:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | while(in<s.size()) | ~~^~~~~~~~~ main.cpp:141:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 141 | if(in==s.size()) | ~~^~~~~~~~~~ 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 = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]', inlined from 'std::pair<std::_Rb_tree_iterator<_Val>, std::_Rb_tree_iterator<_Val> > std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::equal_range(const _Key&) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_tree.h:2030:30, inlined from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::erase(const _Key&) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_tree.h:2518:49, inlined from 'std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::erase(const key_type&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_set.h:685:26, inlined from 'int main()' at main.cpp:85:28: /usr/include/c++/12.2.1/bits/stl_tree.h:1951:9: warning: 'ix' 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:50:14: note: 'ix' was declared here 50 | int uu=0,ix; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
119ms48427kbOK55
218ms48300kbOK55
319ms48402kbOK55
419ms48328kbOK55
519ms48521kbOK55
619ms48402kbOK55
719ms48492kbOK55
824ms48402kbOK55
924ms48603kbOK55
1024ms48828kbOK55
1128ms48549kbOK55
1233ms49184kbOK55
1334ms49082kbOK55
1433ms48693kbOK55
1538ms48693kbOK510
1673ms53481kbOK5
1739ms51519kbOK510
1878ms52215kbOK5
1934ms48627kbOK510
2091ms54927kbOK5
Punctaj total100

Ceva nu functioneaza?