Pagini recente » Borderou de evaluare (job #3320857) | Borderou de evaluare (job #3355226) | Borderou de evaluare (job #3335726) | Borderou de evaluare (job #3317965) | Borderou de evaluare (job #3357502)
Borderou de evaluare (job #3357502)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(int, int, int, int)':
main.cpp:46:20: warning: unused variable 'committee' [-Wunused-variable]
46 | int president, committee, cost = 0;
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:76:15: warning: unused variable 'x' [-Wunused-variable]
76 | int n, m, x, y;
| ^
main.cpp:76:18: warning: unused variable 'y' [-Wunused-variable]
76 | int n, m, x, y;
| ^
In file included from /usr/include/c++/12.2.1/bits/stl_iterator.h:85,
from /usr/include/c++/12.2.1/bits/stl_algobase.h:67,
from /usr/include/c++/12.2.1/bits/specfun.h:45,
from /usr/include/c++/12.2.1/cmath:1935,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41,
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>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const int&}; _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/vector.tcc:462:28,
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:1287:21,
inlined from 'void solve(int, int, int, int)' at main.cpp:62:22:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'president' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solve(int, int, int, int)':
main.cpp:46:9: note: 'president' was declared here
46 | int president, committee, cost = 0;
| ^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect! | 0 |
| 2 | 0ms | 303kb | Incorect! | 0 |
| 3 | 0ms | 303kb | Incorect! | 0 |
| 4 | 0ms | 303kb | Incorect! | 0 |
| 5 | 6ms | 544kb | Killed by Signal 11 | 0 |
| 6 | 0ms | 303kb | Incorect! | 0 |
| 7 | 10ms | 520kb | Killed by Signal 11 | 0 |
| 8 | 10ms | 532kb | Killed by Signal 11 | 0 |
| 9 | 0ms | 303kb | Incorect! | 0 |
| 10 | 4ms | 536kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |