0_0_33266083_10062.cpp:7:2: error: stray '#' in program
int capacity;
^
0_0_33266083_10062.cpp:8:2: error: stray '#' in program
int size;
^
0_0_33266083_10062.cpp:9:2: error: stray '#' in program
int *array;
^
0_0_33266083_10062.cpp:10:2: error: stray '#' in program
int tail;
^
0_0_33266083_10062.cpp:11:2: error: stray '#' in program
int end;
^
0_0_33266083_10062.cpp:15:2: error: stray '#' in program
q->array[q->end]=value;
^
0_0_33266083_10062.cpp:16:2: error: stray '#' in program
q->end++;
^
0_0_33266083_10062.cpp:17:2: error: stray '#' in program
q->size++;
^
0_0_33266083_10062.cpp:18:2: error: stray '#' in program
return value;
^
0_0_33266083_10062.cpp:22:2: error: stray '#' in program
return q->array[q->tail];
^
0_0_33266083_10062.cpp:26:2: error: stray '#' in program
int value=q->array[q->tail];
^
0_0_33266083_10062.cpp:27:2: error: stray '#' in program
q->array[q->tail]=0;
^
0_0_33266083_10062.cpp:28:2: error: stray '#' in program
q->tail++;
^
0_0_33266083_10062.cpp:29:2: error: stray '#' in program
q->size--;
^
0_0_33266083_10062.cpp:30:2: error: stray '#' in program
return value;
^
0_0_33266083_10062.cpp:34:2: error: stray '#' in program
return q->size;
^
0_0_33266083_10062.cpp:38:2: error: stray '#' in program
return q->capacity;
^
0_0_33266083_10062.cpp:42:2: error: stray '#' in program
q->capacity=capacity;
^
0_0_33266083_10062.cpp:43:2: error: stray '#' in program
q->size=0;
^
0_0_33266083_10062.cpp:44:2: error: stray '#' in program
q->tail=0;
^
0_0_33266083_10062.cpp:45:2: error: stray '#' in program
q->end=0;
^
0_0_33266083_10062.cpp:46:2: error: stray '#' in program
q->array=(int *)malloc(capacity*sizeof(int));
^
0_0_33266083_10062.cpp:47:2: error: stray '#' in program
memset(q->array,0,sizeof(q->array));
^
0_0_33266083_10062.cpp:48:2: error: stray '#' in program
return 1;
^
0_0_33266083_10062.cpp:52:2: error: stray '#' in program
q->size=0;
^
0_0_33266083_10062.cpp:53:2: error: stray '#' in program
q->tail=0;
^
0_0_33266083_10062.cpp:54:2: error: stray '#' in program
q->end=0;
^
0_0_33266083_10062.cpp:55:2: error: stray '#' in program
return 1;
^
0_0_33266083_10062.cpp:59:2: error: stray '#' in program
free(q);
^
0_0_33266083_10062.cpp:60:2: error: stray '#' in program
return 1;
^
0_0_33266083_10062.cpp:64:2: error: stray '#' in program
queue* sq=NULL;
^
0_0_33266083_10062.cpp:65:2: error: stray '#' in program
queue* eq=NULL;
^
0_0_33266083_10062.cpp:66:2: error: stray '#' in program
int s,n,i,j,num=2;
^
0_0_33266083_10062.cpp:67:2: error: stray '#' in program
scanf("%d",&s);
^
0_0_33266083_10062.cpp:68:2: error: stray '#' in program
while(s--)
^
0_0_33266083_10062.cpp:69:2: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:70:2: error: stray '#' in program
sq=(queue*)malloc(sizeof(queue));
^
0_0_33266083_10062.cpp:70:8: error: stray '#' in program
sq=(queue*)malloc(sizeof(queue));
^
0_0_33266083_10062.cpp:71:2: error: stray '#' in program
eq=(queue*)malloc(sizeof(queue));
^
0_0_33266083_10062.cpp:71:8: error: stray '#' in program
eq=(queue*)malloc(sizeof(queue));
^
0_0_33266083_10062.cpp:72:2: error: stray '#' in program
scanf("%d",&n);
^
0_0_33266083_10062.cpp:72:8: error: stray '#' in program
scanf("%d",&n);
^
0_0_33266083_10062.cpp:73:2: error: stray '#' in program
init_queue(sq,n);
^
0_0_33266083_10062.cpp:73:8: error: stray '#' in program
init_queue(sq,n);
^
0_0_33266083_10062.cpp:74:2: error: stray '#' in program
init_queue(eq,n);
^
0_0_33266083_10062.cpp:74:8: error: stray '#' in program
init_queue(eq,n);
^
0_0_33266083_10062.cpp:75:2: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_33266083_10062.cpp:75:8: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_33266083_10062.cpp:76:2: error: stray '#' in program
add(sq,i);
^
0_0_33266083_10062.cpp:76:8: error: stray '#' in program
add(sq,i);
^
0_0_33266083_10062.cpp:76:14: error: stray '#' in program
add(sq,i);
^
0_0_33266083_10062.cpp:77:2: error: stray '#' in program
num=2;
^
0_0_33266083_10062.cpp:77:8: error: stray '#' in program
num=2;
^
0_0_33266083_10062.cpp:78:2: error: stray '#' in program
while(n>3)
^
0_0_33266083_10062.cpp:78:8: error: stray '#' in program
while(n>3)
^
0_0_33266083_10062.cpp:79:2: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:79:8: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:80:2: error: stray '#' in program
i=1;
^
0_0_33266083_10062.cpp:80:8: error: stray '#' in program
i=1;
^
0_0_33266083_10062.cpp:80:14: error: stray '#' in program
i=1;
^
0_0_33266083_10062.cpp:81:2: error: stray '#' in program
if(num==2)
^
0_0_33266083_10062.cpp:81:8: error: stray '#' in program
if(num==2)
^
0_0_33266083_10062.cpp:81:14: error: stray '#' in program
if(num==2)
^
0_0_33266083_10062.cpp:82:2: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:82:8: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:82:14: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:83:2: error: stray '#' in program
while(sq->size>0)
^
0_0_33266083_10062.cpp:83:8: error: stray '#' in program
while(sq->size>0)
^
0_0_33266083_10062.cpp:83:14: error: stray '#' in program
while(sq->size>0)
^
0_0_33266083_10062.cpp:83:20: error: stray '#' in program
while(sq->size>0)
^
0_0_33266083_10062.cpp:84:2: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:84:8: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:84:14: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:84:20: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:85:2: error: stray '#' in program
if(i!=num)
^
0_0_33266083_10062.cpp:85:8: error: stray '#' in program
if(i!=num)
^
0_0_33266083_10062.cpp:85:14: error: stray '#' in program
if(i!=num)
^
0_0_33266083_10062.cpp:85:20: error: stray '#' in program
if(i!=num)
^
0_0_33266083_10062.cpp:85:26: error: stray '#' in program
if(i!=num)
^
0_0_33266083_10062.cpp:86:2: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:86:8: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:86:14: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:86:20: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:86:26: error: stray '#' in program
{
^
0_0_33266083_10062.cpp:87:2: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:87:8: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:87:14: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:87:20: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:87:26: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:87:32: error: stray '#' in program
add(eq,pull(sq));
^
0_0_33266083_10062.cpp:88:2: error: stray '#' in program
i++;
^
0_0_33266083_10062.cpp:88:8: error: stray '#' in program
i++;
^
0_0_33266083_10062.cpp:88:14: error: stray '#' in program
i++;
^
0_0_33266083_10062.cpp:88:20: error: stray '#' in program
i++;
^
0_0_33266083_10062.cpp:88:26: error: stray '#' in program
i++;
^
0_0_33266083_10062.cpp:88:32: error: stray '
|