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;
^
|