0_0_33881582_12074.cpp:36:1: error: stray '\322' in program
if(a[i].num>=1&&a[i].num<=2)一个人或两个人的情况
^
0_0_33881582_12074.cpp:36:1: error: stray '\273' in program
0_0_33881582_12074.cpp:36:1: error: stray '\270' in program
0_0_33881582_12074.cpp:36:1: error: stray '\366' in program
0_0_33881582_12074.cpp:36:1: error: stray '\310' in program
0_0_33881582_12074.cpp:36:1: error: stray '\313' in program
0_0_33881582_12074.cpp:36:1: error: stray '\273' in program
0_0_33881582_12074.cpp:36:1: error: stray '\362' in program
0_0_33881582_12074.cpp:36:1: error: stray '\301' in program
0_0_33881582_12074.cpp:36:1: error: stray '\275' in program
0_0_33881582_12074.cpp:36:1: error: stray '\270' in program
0_0_33881582_12074.cpp:36:1: error: stray '\366' in program
0_0_33881582_12074.cpp:36:1: error: stray '\310' in program
0_0_33881582_12074.cpp:36:1: error: stray '\313' in program
0_0_33881582_12074.cpp:36:1: error: stray '\265' in program
0_0_33881582_12074.cpp:36:1: error: stray '\304' in program
0_0_33881582_12074.cpp:36:1: error: stray '\307' in program
0_0_33881582_12074.cpp:36:1: error: stray '\351' in program
0_0_33881582_12074.cpp:36:1: error: stray '\277' in program
0_0_33881582_12074.cpp:36:1: error: stray '\366' in program
0_0_33881582_12074.cpp:38:1: error: stray '\273' in program
if(A>0)还有空位
^
0_0_33881582_12074.cpp:38:1: error: stray '\271' in program
0_0_33881582_12074.cpp:38:1: error: stray '\323' in program
0_0_33881582_12074.cpp:38:1: error: stray '\320' in program
0_0_33881582_12074.cpp:38:1: error: stray '\277' in program
0_0_33881582_12074.cpp:38:1: error: stray '\325' in program
0_0_33881582_12074.cpp:38:1: error: stray '\316' in program
0_0_33881582_12074.cpp:38:1: error: stray '\273' in program
0_0_33881582_12074.cpp:54:1: error: stray '\323' in program
if(a[i].time>time1)有人用完餐了
^
0_0_33881582_12074.cpp:54:1: error: stray '\320' in program
0_0_33881582_12074.cpp:54:1: error: stray '\310' in program
0_0_33881582_12074.cpp:54:1: error: stray '\313' in program
0_0_33881582_12074.cpp:54:1: error: stray '\323' in program
0_0_33881582_12074.cpp:54:1: error: stray '\303' in program
0_0_33881582_12074.cpp:54:1: error: stray '\315' in program
0_0_33881582_12074.cpp:54:1: error: stray '\352' in program
0_0_33881582_12074.cpp:54:1: error: stray '\262' in program
0_0_33881582_12074.cpp:54:1: error: stray '\315' in program
0_0_33881582_12074.cpp:54:1: error: stray '\301' in program
0_0_33881582_12074.cpp:54:1: error: stray '\313' in program
0_0_33881582_12074.cpp:10:1: error: 'queueQ1' does not name a type
queueQ1;//两人座的队列
^
0_0_33881582_12074.cpp:11:1: error: 'queueQ2' does not name a type
queueQ2;//四人座的队列
^
0_0_33881582_12074.cpp:12:1: error: 'queueQ3' does not name a type
queueQ3;//六人座的队列
^
0_0_33881582_12074.cpp: In function 'int main()':
0_0_33881582_12074.cpp:19:8: error: 'Q1' was not declared in this scope
while(!Q1.empty())Q1.pop();//设置队列为空
^
0_0_33881582_12074.cpp:20:8: error: 'Q2' was not declared in this scope
while(!Q2.empty())Q2.pop();
^
0_0_33881582_12074.cpp:21:8: error: 'Q3' was not declared in this scope
while(!Q3.empty())Q3.pop();
^
0_0_33881582_12074.cpp:35:1: error: expected ';' before '{' token
{
^
0_0_33881582_12074.cpp:35:1: error: expected primary-expression before '{' token
0_0_33881582_12074.cpp:35:1: error: expected ')' before '{' token
0_0_33881582_12074.cpp:42:1: error: 'Q1' was not declared in this scope
Q1.push(a[i].time+30);//记录离开时间
^
0_0_33881582_12074.cpp:46:7: error: 'Q1' was not declared in this scope
time1=Q1.front();//取出离开时间
^
0_0_33881582_12074.cpp:70:1: error: 'Q2' was not declared in this scope
Q2.push(a[i].time+30);
^
0_0_33881582_12074.cpp:74:7: error: 'Q2' was not declared in this scope
time2=Q2.front();
^
0_0_33881582_12074.cpp:97:1: error: 'Q3' was not declared in this scope
Q3.push(a[i].time+30);
^
0_0_33881582_12074.cpp:101:7: error: 'Q3' was not declared in this scope
time3=Q3.front();
^
|