Pagini recente » Borderou de evaluare (job #1494657) | Borderou de evaluare (job #914365) | Borderou de evaluare (job #33801) | Borderou de evaluare (job #30878) | Borderou de evaluare (job #1494650)
Borderou de evaluare (job #1494650)
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:87: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 | 436kb | OK | 5 | 10 |
2 | 0ms | 436kb | OK | 5 |
3 | 12ms | 576kb | OK | 5 | 10 |
4 | 20ms | 688kb | OK | 5 |
5 | 236ms | 5132kb | OK | 5 | 20 |
6 | 176ms | 3228kb | OK | 5 |
7 | 248ms | 4816kb | OK | 5 |
8 | 180ms | 3232kb | OK | 5 |
9 | 400ms | 9980kb | OK | 5 | 20 |
10 | 260ms | 6176kb | OK | 5 |
11 | 420ms | 9368kb | OK | 5 |
12 | 252ms | 6180kb | OK | 5 |
13 | 512ms | 11612kb | OK | 5 | 20 |
14 | 408ms | 7872kb | OK | 5 |
15 | 500ms | 12376kb | OK | 5 |
16 | 408ms | 8140kb | OK | 5 |
17 | 568ms | 14772kb | OK | 5 | 20 |
18 | 456ms | 9844kb | OK | 5 |
19 | 580ms | 15232kb | OK | 5 |
20 | 468ms | 9840kb | OK | 5 |
Punctaj total | 100 |