Borderou de evaluare (job #759333)

Utilizator avatar AnghelutaDiana06 Angheluta Diana AnghelutaDiana06 IP ascuns
Problemă Diametru (clasele 11-12) Compilator cpp-32
Rundă vs_11_lmk Status evaluat
Dată 29 ian. 2024 20:41:13 Scor 100

Raport evaluator

Compilare: In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:64, from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/algorithm:60, from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/i686-pc-linux-gnu/bits/stdc++.h:51, from main.cpp:1: In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = int&; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = int; _T2 = int]', inlined from 'constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = int&; _T2 = int&]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_pair.h:927:72, inlined from 'std::pair<int, int> Graph::bfs(int)' at main.cpp:76:21: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_pair.h:688:11: warning: 'nodeIdx' may be used uninitialized [-Wmaybe-uninitialized] 688 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::pair<int, int> Graph::bfs(int)': main.cpp:52:9: note: 'nodeIdx' was declared here 52 | int nodeIdx; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 2 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 9 ms 503 kb OK 10
5 18 ms 761 kb OK 10
6 98 ms 2523 kb OK 10
7 129 ms 3092 kb OK 10
8 209 ms 4341 kb OK 10
9 219 ms 5181 kb OK 10
10 285 ms 5693 kb OK 10
Punctaj total 100