Pagini recente » Borderou de evaluare (job #1406150) | Borderou de evaluare (job #2611000) | Borderou de evaluare (job #2075369) | Borderou de evaluare (job #1728951) | Borderou de evaluare (job #3125114)
Borderou de evaluare (job #3125114)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:104:45: warning: 'yp' may be used uninitialized [-Wmaybe-uninitialized]
104 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:88:27: note: 'yp' was declared here
88 | int xd, yd, xt, yt, xp, yp;
| ^~
In file included from /usr/include/c++/12.2.1/string:53,
from /usr/include/c++/12.2.1/bits/locale_classes.h:40,
from /usr/include/c++/12.2.1/bits/ios_base.h:41,
from /usr/include/c++/12.2.1/ios:42,
from /usr/include/c++/12.2.1/istream:38,
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:1:
In member function 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_data() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]',
inlined from 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/basic_string.h:1224:16,
inlined from 'int main()' at main.cpp:104:45:
/usr/include/c++/12.2.1/bits/basic_string.h:234:28: warning: 'xp' may be used uninitialized [-Wmaybe-uninitialized]
234 | { return _M_dataplus._M_p; }
| ^~~~
main.cpp: In function 'int main()':
main.cpp:88:23: note: 'xp' was declared here
88 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:104:28: warning: 'yt' may be used uninitialized [-Wmaybe-uninitialized]
104 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:88:19: note: 'yt' was declared here
88 | int xd, yd, xt, yt, xp, yp;
| ^~
In member function 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_data() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]',
inlined from 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/basic_string.h:1224:16,
inlined from 'int main()' at main.cpp:104:28:
/usr/include/c++/12.2.1/bits/basic_string.h:234:28: warning: 'xt' may be used uninitialized [-Wmaybe-uninitialized]
234 | { return _M_dataplus._M_p; }
| ^~~~
main.cpp: In function 'int main()':
main.cpp:88:15: note: 'xt' was declared here
88 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:106:21: warning: 'yd' may be used uninitialized [-Wmaybe-uninitialized]
106 | res = dist1[xd][yd];
| ~~~~~~~~~~~~^
main.cpp:88:11: note: 'yd' was declared here
88 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:106:21: warning: 'xd' may be used uninitialized [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
21 | 0ms | 303kb | OK! | 0 | 0 |
22 | 0ms | 303kb | OK! | 0 | 0 |
23 | 0ms | 557kb | OK! | 0 | 0 |
1 | 0ms | 303kb | OK! | 5 | 5 |
2 | 0ms | 303kb | OK! | 5 | 5 |
3 | 0ms | 303kb | OK! | 5 | 5 |
4 | 0ms | 557kb | Raspuns gresit! | 0 | 0 |
5 | 0ms | 819kb | OK! | 5 | 5 |
6 | 0ms | 819kb | OK! | 5 | 5 |
7 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
8 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
9 | 0ms | 1081kb | OK! | 5 | 5 |
10 | 0ms | 1081kb | Raspuns gresit! | 0 | 0 |
11 | 4ms | 4227kb | OK! | 5 | 5 |
12 | 5ms | 4227kb | Raspuns gresit! | 0 | 0 |
13 | 14ms | 7266kb | Raspuns gresit! | 0 | 0 |
14 | 24ms | 10870kb | Raspuns gresit! | 0 | 0 |
15 | 29ms | 12328kb | OK! | 5 | 5 |
16 | 44ms | 14565kb | Raspuns gresit! | 0 | 0 |
17 | 39ms | 14381kb | Raspuns gresit! | 0 |
18 | 44ms | 14508kb | OK! | 5 |
19 | 44ms | 14446kb | Raspuns gresit! | 0 |
20 | 0ms | 1081kb | OK! | 5 |
Punctaj total | 40 |