Borderou de evaluare (job #3163999)

Utilizator Luca529Taschina Luca Luca529 Data 1 noiembrie 2023 20:51:15
Problema Demolish Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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
22ms303kbCost gresit!0
33ms1343kbCost gresit!0
44ms1081kbOK!10
514ms3387kbOK!10
69ms8957kbCost gresit!0
719ms14974kbOK!10
864ms36732kbOK!10
968ms39358kbOK!10
109ms1605kbCost gresit!0
Punctaj total60

Ceva nu functioneaza?