Borderou de evaluare (job #3167019)

Utilizator Horia_haivasHaivas Horia Horia_haivas Data 9 noiembrie 2023 21:53:54
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void ins(std::string)': main.cpp:30:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for (j=0; j<s.size(); j++) | ~^~~~~~~~~ main.cpp: In function 'std::string best(std::string)': main.cpp:53:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for (j=0; j<s.size(); j++) | ~^~~~~~~~~ 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:6: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:154:38: /usr/include/c++/12.2.1/ostream:202:25: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:95:35: note: 'r' was declared here 95 | long long n,i,j,mx,ans,maxl,l,r; | ^ In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:154:26: /usr/include/c++/12.2.1/ostream:202:25: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:95:33: note: 'l' was declared here 95 | long long n,i,j,mx,ans,maxl,l,r; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOk... pentru moment55
20ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
30ms303kbBine, Ionel!55
46ms1343kbOk... pentru moment55
544ms6025kbBine, Ionel!55
659ms7458kbBine, Ionel!55
759ms7491kbBine, Ionel!55
869ms7815kbBine, Ionel!55
929ms1081kbBine, Ionel!55
1019ms1081kbOk... pentru moment55
110ms303kbBine, Ionel!55
120ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
130ms303kbOk... pentru moment55
145ms1343kbBine, Ionel!55
1524ms1859kbOk... pentru moment515
1634ms2064kbBine, Ionel!5
1754ms4968kbBine, Ionel!5
1854ms4931kbBine, Ionel!515
1924ms1081kbBine, Ionel!5
2019ms1081kbBine, Ionel!5
Punctaj total90

Ceva nu functioneaza?