Borderou de evaluare (job #3167033)

Utilizator Horia_haivasHaivas Horia Horia_haivas Data 9 noiembrie 2023 22:02:34
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:155: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:155: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
10ms303kbBine, Ionel!55
20ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
30ms303kbBine, Ionel!55
44ms1081kbOk... pentru moment55
544ms6062kbBine, Ionel!55
658ms7454kbBine, Ionel!55
759ms7577kbOk... pentru moment55
859ms7524kbBine, Ionel!55
929ms1081kbBine, Ionel!55
1024ms1081kbOk... pentru moment55
110ms303kbOk... pentru moment55
120ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
130ms303kbBine, Ionel!55
144ms1081kbBine, Ionel!55
1524ms1859kbOk... pentru moment515
1638ms2076kbBine, Ionel!5
1753ms4931kbOk... pentru moment5
1853ms4947kbBine, Ionel!515
1928ms1241kbOk... pentru moment5
2019ms1081kbBine, Ionel!5
Punctaj total90

Ceva nu functioneaza?