Pagini recente » Borderou de evaluare (job #1801800) | Borderou de evaluare (job #1886956) | Borderou de evaluare (job #1342463) | Borderou de evaluare (job #379198) | Borderou de evaluare (job #3157760)
Borderou de evaluare (job #3157760)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:12: warning: right operand of comma operator has no effect [-Wunused-value]
33 | f>>N,M,S;
| ^
main.cpp:33:13: warning: right operand of comma operator has no effect [-Wunused-value]
33 | f>>N,M,S;
| ^
main.cpp:38:8: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized]
38 | BFS(S);
| ~~~^~~
main.cpp:32:13: note: 'S' was declared here
32 | int N,M,S;
| ^
main.cpp:35:13: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
35 | int x,y;
| ^
In file included from /usr/include/c++/12.2.1/bits/char_traits.h:46,
from /usr/include/c++/12.2.1/ios:40,
from /usr/include/c++/12.2.1/ostream:38,
from /usr/include/c++/12.2.1/iostream:39,
from main.cpp:1:
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1281:30,
inlined from 'int main()' at main.cpp:36:23:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:15: note: 'y' was declared here
35 | int x,y;
| ^
main.cpp:34:18: warning: 'M' may be used uninitialized [-Wmaybe-uninitialized]
34 | for(int i=1;i<=M;i++){
| ~^~~
main.cpp:32:11: note: 'M' was declared here
32 | int N,M,S;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 303kb | Incorect | 0 |
2 | 4ms | 303kb | Incorect | 0 |
3 | 4ms | 303kb | Incorect | 0 |
4 | 4ms | 303kb | Incorect | 0 |
5 | 4ms | 303kb | Incorect | 0 |
6 | 4ms | 303kb | Incorect | 0 |
7 | 6ms | 557kb | Incorect | 0 |
8 | 7ms | 557kb | Incorect | 0 |
9 | 7ms | 557kb | Incorect | 0 |
10 | 7ms | 557kb | Incorect | 0 |
Punctaj total | 0 |