Borderou de evaluare (job #3167040)

Utilizator Horia_haivasHaivas Horia Horia_haivas Data 9 noiembrie 2023 22:04:14
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
46ms1343kbBine, Ionel!55
544ms5959kbOk... pentru moment55
663ms7806kbOk... pentru moment55
758ms7401kbBine, Ionel!55
859ms7454kbBine, Ionel!55
929ms1081kbOk... pentru moment55
1019ms1081kbOk... pentru moment55
110ms303kbOk... pentru moment55
120ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
130ms303kbOk... pentru moment55
144ms1081kbBine, Ionel!55
1524ms1855kbOk... pentru moment515
1633ms2076kbBine, Ionel!5
1754ms4980kbOk... pentru moment5
1854ms4939kbBine, Ionel!515
1924ms1081kbOk... pentru moment5
2019ms1081kbOk... pentru moment5
Punctaj total90

Ceva nu functioneaza?