0_0_38083802_11983.cpp:6:1: error: 'map' does not name a type
map<ll,ll>mp,tp;
^
0_0_38083802_11983.cpp: In function 'int main()':
0_0_38083802_11983.cpp:11:1: error: 'mp' was not declared in this scope
mp.clear();
^
0_0_38083802_11983.cpp:16:1: error: 'tp' was not declared in this scope
tp.clear();
^
0_0_38083802_11983.cpp:17:12: error: unable to deduce 'auto&&' from 'mp'
for(auto j:mp)//j
^
0_0_38083802_11983.cpp:21:33: error: 'vv' was not declared in this scope
if(tp.find(ww)==tp.end())tp[ww]=vv;
^
0_0_38083802_11983.cpp:22:24: error: 'vv' was not declared in this scope
else tp[ww]=max(tp[ww],vv);
^
0_0_38083802_11983.cpp:25:25: error: 'vv' was not declared in this scope
tp[ww+w]=max(tp[ww+w],v+vv);
^
0_0_38083802_11983.cpp:30:12: error: unable to deduce 'auto&&' from 'tp'
for(auto j:tp)//¼ôÖ¦mapɸѡÐÅÏ¢
^
|