Pagini recente » Borderou de evaluare (job #2857618) | Borderou de evaluare (job #2532363) | Borderou de evaluare (job #2990419) | Borderou de evaluare (job #1267478) | Borderou de evaluare (job #3125105)
Borderou de evaluare (job #3125105)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:121:45: warning: 'yp' may be used uninitialized [-Wmaybe-uninitialized]
121 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:105:27: note: 'yp' was declared here
105 | 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:121: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:105:23: note: 'xp' was declared here
105 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:121:28: warning: 'yt' may be used uninitialized [-Wmaybe-uninitialized]
121 | T[xd][yd] = '1', T[xt][yt] = '1', T[xp][yp] = '0';
| ^
main.cpp:105:19: note: 'yt' was declared here
105 | 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:121: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:105:15: note: 'xt' was declared here
105 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:123:21: warning: 'yd' may be used uninitialized [-Wmaybe-uninitialized]
123 | res = dist1[xd][yd];
| ~~~~~~~~~~~~^
main.cpp:105:11: note: 'yd' was declared here
105 | int xd, yd, xt, yt, xp, yp;
| ^~
main.cpp:123: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 | 1081kb | Raspuns gresit! | 0 | 0 |
8 | 0ms | 1081kb | Raspuns gresit! | 0 | 0 |
9 | 0ms | 1343kb | OK! | 5 | 5 |
10 | 0ms | 1343kb | OK! | 5 | 5 |
11 | 6ms | 7372kb | OK! | 5 | 5 |
12 | 7ms | 7110kb | Raspuns gresit! | 0 | 0 |
13 | 14ms | 9732kb | Raspuns gresit! | 0 | 0 |
14 | 39ms | 32595kb | Raspuns gresit! | 0 | 0 |
15 | 44ms | 28004kb | OK! | 5 | 5 |
16 | 44ms | 28819kb | Raspuns gresit! | 0 | 0 |
17 | 64ms | 49852kb | Raspuns gresit! | 0 |
18 | 34ms | 19025kb | OK! | 5 |
19 | 69ms | 51048kb | Raspuns gresit! | 0 |
20 | 0ms | 1343kb | OK! | 5 |
Punctaj total | 45 |