F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37760098_26355.cpp: In lambda function:
0_0_37760098_26355.cpp:28:28: error: request for member 'val' in '(&(& dp)->std::vector<_Tp, _Alloc>::operator[]<std::vector<long long int>, std::allocator<std::vector<long long int> > >(((std::vector<std::vector<long long int> >::size_type)(x + y))))->std::vector<_Tp, _Alloc>::operator[]<long long int, std::allocator<long long int> >(((std::vector<long long int>::size_type)tar))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}'
         if (dp[x + y][tar].val()) return dp[x + y][tar];
                            ^
0_0_37760098_26355.cpp: In function 'void solve()':
0_0_37760098_26355.cpp:39:17: error: request for member 'val' in 'ans', which is of non-class type 'll {aka long long int}'
     cout << ans.val() << '\n';
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 04:14:23, Gzip enabled