Pagini recente » Borderou de evaluare (job #645549) | Borderou de evaluare (job #2891272) | Borderou de evaluare (job #2356) | Borderou de evaluare (job #1497884) | Borderou de evaluare (job #1494639)
Borderou de evaluare (job #1494639)
Raport evaluator
Compilare:
user.cpp: In member function ‘int max_aint<Cmp>::update(int, int)’:
user.cpp:30:45: warning: no return statement in function returning non-void [-Wreturn-type]
buf[p] = max(buf[2*p], buf[2*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:126: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 | 424kb | Incorect | 0 | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 8ms | 572kb | Incorect | 0 | 0 |
4 | 20ms | 704kb | Incorect | 0 |
5 | 244ms | 5496kb | OK | 5 | 0 |
6 | 180ms | 3732kb | Incorect | 0 |
7 | 260ms | 5192kb | Incorect | 0 |
8 | 184ms | 3732kb | Incorect | 0 |
9 | 408ms | 10736kb | Incorect | 0 | 0 |
10 | 260ms | 6928kb | Incorect | 0 |
11 | 428ms | 9860kb | Incorect | 0 |
12 | 260ms | 6928kb | Incorect | 0 |
13 | 516ms | 12648kb | Incorect | 0 | 0 |
14 | 416ms | 9240kb | Incorect | 0 |
15 | 512ms | 13252kb | Incorect | 0 |
16 | 420ms | 9240kb | Incorect | 0 |
17 | 580ms | 15944kb | Incorect | 0 | 0 |
18 | 460ms | 11528kb | Incorect | 0 |
19 | 208ms | Depăşit | Memory limit exceeded. | 0 |
20 | 472ms | 11532kb | Incorect | 0 |
Punctaj total | 0 |