Pagini recente » Borderou de evaluare (job #1748529) | Borderou de evaluare (job #887620) | Borderou de evaluare (job #2125845) | Borderou de evaluare (job #2107049) | Borderou de evaluare (job #3163995)
Borderou de evaluare (job #3163995)
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:76: note: 'd1' was declared here
82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e9, 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:72: note: 'c1' was declared here
82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e9, 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:68: note: 'b1' was declared here
82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e9, 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:64: note: 'a1' was declared here
82 | { long long int n, m, l1, l2, q, a, b, c, d, cost, mini=1e9, a1, b1, c1, d1;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 303kb | OK! | 10 |
2 | 2ms | 303kb | Cost gresit! | 0 |
3 | 3ms | 1347kb | Cost gresit! | 0 |
4 | 4ms | 1081kb | OK! | 10 |
5 | 13ms | 3342kb | OK! | 10 |
6 | 9ms | 8855kb | Cost gresit! | 0 |
7 | 19ms | 14974kb | OK! | 10 |
8 | 68ms | 36925kb | OK! | 10 |
9 | 74ms | 39170kb | OK! | 10 |
10 | 9ms | 1343kb | Cost gresit! | 0 |
Punctaj total | 60 |