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_23154754_23437.cpp:12:1: error: invalid use of template-name 'std::vector' without an argument list
 vector
 ^
0_0_23154754_23437.cpp: In function 'void input()':
0_0_23154754_23437.cpp:79:12: error: 'agent' was not declared in this scope
            agent[idx].push_back(P(pos, dur));
            ^
0_0_23154754_23437.cpp:81:9: error: 'agent' was not declared in this scope
         agent[idx].push_back(P(pos, 0)); //! Exit
         ^
0_0_23154754_23437.cpp: In function 'void init()':
0_0_23154754_23437.cpp:89:13: error: 'agent' was not declared in this scope
         if(!agent[i].size()) continue;
             ^
0_0_23154754_23437.cpp:90:12: error: 'agent' was not declared in this scope
         if(agent[i][0].first/100==1)
            ^
0_0_23154754_23437.cpp: In function 'void simulator()':
0_0_23154754_23437.cpp:123:16: error: 'agent' was not declared in this scope
             to=agent[id][done[id]].first;
                ^
0_0_23154754_23437.cpp:143:18: error: 'agent' was not declared in this scope
             cost=agent[id][done[id]].second;
                  ^


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-06-28 04:51:15, Gzip enabled