Borderou de evaluare (job #3164030)

Utilizator Luca529Taschina Luca Luca529 Data 1 noiembrie 2023 21:49:03
Problema Demolish Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:111:55: warning: 'd1' may be used uninitialized [-Wmaybe-uninitialized] 111 | fout<<mini<<"\n"<<a1<<" "<<b1-1<<" "<<c1<<" "<<d1-1; | ^ main.cpp:82:77: note: 'd1' was declared here 82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e18, a1, b1, c1, d1; | ^~ In file included from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: 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:111:43: /usr/include/c++/12.2.1/ostream:202:25: warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:82:73: note: 'c1' was declared here 82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e18, a1, b1, c1, d1; | ^~ main.cpp:111:35: warning: 'b1' may be used uninitialized [-Wmaybe-uninitialized] 111 | fout<<mini<<"\n"<<a1<<" "<<b1-1<<" "<<c1<<" "<<d1-1; | ^ main.cpp:82:69: note: 'b1' was declared here 82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e18, a1, b1, c1, d1; | ^~ 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:111:23: /usr/include/c++/12.2.1/ostream:202:25: warning: 'a1' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:82:65: note: 'a1' was declared here 82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e18, a1, b1, c1, d1; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbOK!10
22ms303kbOK!10
33ms819kbOK!10
44ms1081kbOK!10
514ms3383kbOK!10
618ms6742kbKilled by Signal 110
719ms14974kbOK!10
863ms36769kbOK!10
969ms39346kbOK!10
109ms1609kbOK!10
Punctaj total90

Ceva nu functioneaza?