Pagini recente » Borderou de evaluare (job #1297467) | Borderou de evaluare (job #2954770) | Borderou de evaluare (job #1641148) | Borderou de evaluare (job #821285) | Borderou de evaluare (job #1494647)
Borderou de evaluare (job #1494647)
Raport evaluator
Compilare:
user.cpp: In member function ‘int max_aint<Cmp>::update(int, int)’:
user.cpp:30:43: warning: no return statement in function returning non-void [-Wreturn-type]
buf[p/2] = max(buf[p], buf[p^1], c); } } };
^
user.cpp: In instantiation of ‘max_aint<Cmp>::max_aint(int, F, Cmp, int) [with F = main()::__lambda2; Cmp = main()::__lambda1]’:
user.cpp:127:11: required from here
user.cpp:12:6: warning: ‘max_aint<main()::__lambda1>::c’ will be initialized after [-Wreorder]
Cmp c;
^
user.cpp:10:9: warning: ‘int max_aint<main()::__lambda1>::minus_inf’ [-Wreorder]
int n, minus_inf;
^
user.cpp:15:2: warning: when initialized here [-Wreorder]
max_aint(const int sz, F f, Cmp cc, int min_inf): n(sz), buf(2*sz), c(cc), minus_inf(min_inf){
^
user.cpp: In instantiation of ‘max_aint<Cmp>::max_aint(int, F, Cmp, int) [with F = heavy_path::heavy_path(std::vector<nod_info>&)::__lambda0; Cmp = std::less<int>]’:
/usr/include/c++/4.8/ext/new_allocator.h:120:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = max_aint<std::less<int> >; _Args = {unsigned int, heavy_path::heavy_path(std::vector<nod_info>&)::__lambda0, std::less<int>, int}; _Tp = max_aint<std::less<int> >]’
/usr/include/c++/4.8/bits/alloc_traits.h:254:4: required from ‘static typename std::enable_if<std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::value, void>::type std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = max_aint<std::less<int> >; _Args = {unsigned int, heavy_path::heavy_path(std::vector<nod_info>&)::__lambda0, std::less<int>, int}; _Alloc = std::allocator<max_aint<std::less<int> > >; typename std::enable_if<std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::value, void>::type = void]’
/usr/include/c++/4.8/bits/alloc_traits.h:393:57: required from ‘static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = max_aint<std::less<int> >; _Args = {unsigned int, heavy_path::heavy_path(std::vector<nod_info>&)::__lambda0, std::less<int>, int}; _Alloc = std::allocator<max_aint<std::less<int> > >; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]’
/usr/include/c++/4.8/bits/vector.tcc:97:40: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {unsigned int, heavy_path::heavy_path(std::vector<nod_info>&)::__lambda0, std::less<int>, int}; _Tp = max_aint<std::less<int> >; _Alloc = std::allocator<max_aint<std::less<int> > >]’
user.cpp:86:20: required from here
user.cpp:12:6: warning: ‘max_aint<std::less<int> >::c’ will be initialized after [-Wreorder]
Cmp c;
^
user.cpp:10:9: warning: ‘int max_aint<std::less<int> >::minus_inf’ [-Wreorder]
int n, minus_inf;
^
user.cpp:15:2: warning: when initialized here [-Wreorder]
max_aint(const int sz, F f, Cmp cc, int min_inf): n(sz), buf(2*sz), c(cc), minus_inf(min_inf){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | OK | 5 | 10 |
2 | 0ms | 428kb | OK | 5 |
3 | 8ms | 576kb | OK | 5 | 10 |
4 | 20ms | 700kb | OK | 5 |
5 | 244ms | 5500kb | OK | 5 | 20 |
6 | 176ms | 3736kb | OK | 5 |
7 | 252ms | 5188kb | OK | 5 |
8 | 184ms | 3732kb | OK | 5 |
9 | 412ms | 10744kb | OK | 5 | 20 |
10 | 256ms | 6932kb | OK | 5 |
11 | 428ms | 9860kb | OK | 5 |
12 | 260ms | 6932kb | OK | 5 |
13 | 528ms | 12652kb | OK | 5 | 20 |
14 | 416ms | 9236kb | OK | 5 |
15 | 520ms | 13256kb | OK | 5 |
16 | 420ms | 9240kb | OK | 5 |
17 | 588ms | 15944kb | OK | 5 | 0 |
18 | 464ms | 11532kb | OK | 5 |
19 | 212ms | Depăşit | Memory limit exceeded. | 0 |
20 | 476ms | 11532kb | OK | 5 |
Punctaj total | 80 |