Pagini recente » Borderou de evaluare (job #1075803) | Borderou de evaluare (job #2878355) | Borderou de evaluare (job #1584716) | Borderou de evaluare (job #2129673) | Borderou de evaluare (job #3125111)
Borderou de evaluare (job #3125111)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:115:45: warning: 'yp' may be used uninitialized [-Wmaybe-uninitialized]
115 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:99:27: note: 'yp' was declared here
99 | 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:115: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:99:23: note: 'xp' was declared here
99 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:115:28: warning: 'yt' may be used uninitialized [-Wmaybe-uninitialized]
115 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:99:19: note: 'yt' was declared here
99 | 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:115: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:99:15: note: 'xt' was declared here
99 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:117:21: warning: 'yd' may be used uninitialized [-Wmaybe-uninitialized]
117 | res = dist1[xd][yd];
| ~~~~~~~~~~~~^
main.cpp:99:11: note: 'yd' was declared here
99 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:117: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 | OK! | 5 | 5 |
11 | 6ms | 6324kb | OK! | 5 | 5 |
12 | 4ms | 5799kb | Raspuns gresit! | 0 | 0 |
13 | 19ms | 7749kb | Raspuns gresit! | 0 | 0 |
14 | 39ms | 29548kb | Raspuns gresit! | 0 | 0 |
15 | 43ms | 24494kb | OK! | 5 | 5 |
16 | 49ms | 24870kb | Raspuns gresit! | 0 | 0 |
17 | 64ms | 45965kb | Raspuns gresit! | 0 |
18 | 54ms | 15777kb | OK! | 5 |
19 | 69ms | 47087kb | Raspuns gresit! | 0 |
20 | 0ms | 1081kb | OK! | 5 |
Punctaj total | 45 |