0_0_22436593_32688.cpp: In function 'int main()':
0_0_22436593_32688.cpp:24:40: error: 'r' was not declared in this scope
que.pop(); printf("%d\n",r.q_time); r.time+=r.period;//更新该触发器下一个事件的时间 que.push(r);//重新插入优先队列 } return 0; }
^
0_0_22436593_32688.cpp:24:74: error: expected '}' at end of input
que.pop(); printf("%d\n",r.q_time); r.time+=r.period;//更新该触发器下一个事件的时间 que.push(r);//重新插入优先队列 } return 0; }
^
0_0_22436593_32688.cpp:24:74: error: expected '}' at end of input
|