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_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ɸѡÐÅÏ¢
            ^


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-11-26 05:08:33, Gzip enabled