Borderou de evaluare (job #3167030)

Utilizator Horia_haivasHaivas Horia Horia_haivas Data 9 noiembrie 2023 22:00: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
10ms303kbBine, Ionel!55
20ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
30ms303kbBine, Ionel!55
44ms1081kbBine, Ionel!55
544ms6049kbBine, Ionel!55
658ms7483kbBine, Ionel!55
759ms7507kbBine, Ionel!55
859ms7532kbBine, Ionel!55
929ms1245kbBine, Ionel!55
1019ms1081kbOk... pentru moment55
110ms303kbBine, Ionel!55
120ms303kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
130ms303kbBine, Ionel!55
145ms1343kbBine, Ionel!55
1524ms1859kbOk... pentru moment515
1633ms2072kbOk... pentru moment5
1754ms4980kbOk... pentru moment5
1854ms4956kbBine, Ionel!515
1923ms1236kbOk... pentru moment5
2019ms1085kbBine, Ionel!5
Punctaj total90

Ceva nu functioneaza?