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_33266008_1895.cpp:8:2: error: stray '#' in program
  int capacity;  //¶¨Òå¶ÓÁеÄÈÝÁ¿
  ^
0_0_33266008_1895.cpp:8:21: error: stray '#' in program
  int capacity;  //¶¨Òå¶ÓÁеÄÈÝÁ¿
                     ^
0_0_33266008_1895.cpp:9:2: error: stray '#' in program
  int size;    //¶¨Òå¶ÓÁеij¤¶È
  ^
0_0_33266008_1895.cpp:9:17: error: stray '#' in program
  int size;    //¶¨Òå¶ÓÁеij¤¶È
                 ^
0_0_33266008_1895.cpp:9:23: error: stray '#' in program
  int size;    //¶¨Òå¶ÓÁеij¤¶È
                       ^
0_0_33266008_1895.cpp:9:29: error: stray '#' in program
  int size;    //¶¨Òå¶ÓÁеij¤¶È
                             ^
0_0_33266008_1895.cpp:10:2: error: stray '#' in program
  int head;    //¶¨Òå¶ÓÁеÄÍ·
  ^
0_0_33266008_1895.cpp:10:17: error: stray '#' in program
  int head;    //¶¨Òå¶ÓÁеÄÍ·
                 ^
0_0_33266008_1895.cpp:10:23: error: stray '#' in program
  int head;    //¶¨Òå¶ÓÁеÄÍ·
                       ^
0_0_33266008_1895.cpp:10:29: error: stray '#' in program
  int head;    //¶¨Òå¶ÓÁеÄÍ·
                             ^
0_0_33266008_1895.cpp:11:2: error: stray '#' in program
  int tail;    //¶¨Òå¶ÓÁеÄβ
  ^
0_0_33266008_1895.cpp:11:17: error: stray '#' in program
  int tail;    //¶¨Òå¶ÓÁеÄβ
                 ^
0_0_33266008_1895.cpp:11:23: error: stray '#' in program
  int tail;    //¶¨Òå¶ÓÁеÄβ
                       ^
0_0_33266008_1895.cpp:11:29: error: stray '#' in program
  int tail;    //¶¨Òå¶ÓÁеÄβ
                             ^
0_0_33266008_1895.cpp:12:2: error: stray '#' in program
  int *array;   //¶¨Òå¶ÓÁÐÊý×飬´æ·Å¶ÓÁеÄÊý¾Ý
  ^
0_0_33266008_1895.cpp:12:19: error: stray '#' in program
  int *array;   //¶¨Òå¶ÓÁÐÊý×飬´æ·Å¶ÓÁеÄÊý¾Ý
                   ^
0_0_33266008_1895.cpp:12:25: error: stray '#' in program
  int *array;   //¶¨Òå¶ÓÁÐÊý×飬´æ·Å¶ÓÁеÄÊý¾Ý
                         ^
0_0_33266008_1895.cpp:18:2: error: stray '#' in program
  p->tail=0;
  ^
0_0_33266008_1895.cpp:19:2: error: stray '#' in program
  p->head=0;
  ^
0_0_33266008_1895.cpp:20:2: error: stray '#' in program
  p->size=0;
  ^
0_0_33266008_1895.cpp:26:2: error: stray '#' in program
  p->capacity=n;
  ^
0_0_33266008_1895.cpp:27:2: error: stray '#' in program
  p->tail=0;
  ^
0_0_33266008_1895.cpp:28:2: error: stray '#' in program
  p->head=0;
  ^
0_0_33266008_1895.cpp:29:2: error: stray '#' in program
  p->size=0;
  ^
0_0_33266008_1895.cpp:30:2: error: stray '#' in program
  p->array=(int *)malloc(sizeof(queue)*n);//×¢Òâ¸øÊý×é·ÖÅä¿Õ¼ä
  ^
0_0_33266008_1895.cpp:36:2: error: stray '#' in program
  p->array[p->tail]=num;
  ^
0_0_33266008_1895.cpp:37:2: error: stray '#' in program
  p->tail++;
  ^
0_0_33266008_1895.cpp:38:2: error: stray '#' in program
  p->size++;
  ^
0_0_33266008_1895.cpp:39:2: error: stray '#' in program
  return 0;
  ^
0_0_33266008_1895.cpp:45:2: error: stray '#' in program
  int num;
  ^
0_0_33266008_1895.cpp:46:2: error: stray '#' in program
  num=p->array[p->head];
  ^
0_0_33266008_1895.cpp:47:2: error: stray '#' in program
  p->array[p->head]=0;
  ^
0_0_33266008_1895.cpp:48:2: error: stray '#' in program
  p->head++;
  ^
0_0_33266008_1895.cpp:49:2: error: stray '#' in program
  p->size++;
  ^
0_0_33266008_1895.cpp:50:2: error: stray '#' in program
  return num;//×¢Òâ´Ë´¦ÊÇreturn num;
  ^
0_0_33266008_1895.cpp:56:2: error: stray '#' in program
  free(p);
  ^
0_0_33266008_1895.cpp:62:2: error: stray '#' in program
  int cases,i,a,num;
  ^
0_0_33266008_1895.cpp:63:2: error: stray '#' in program
  queue *p1=NULL,*p2=NULL,*ans=NULL;//¶¨ÒåÈý¸ö¶ÓÁУ¬ansÓÃÀ´´æ·ÅÒªÊä³ö¶ÓÁеÄÖµ
  ^
0_0_33266008_1895.cpp:67:2: error: stray '#' in program
  scanf("%d",&cases);
  ^
0_0_33266008_1895.cpp:68:2: error: stray '#' in program
  while(cases--){
  ^
0_0_33266008_1895.cpp:69:2: error: stray '#' in program
   scanf("%d",&a);
  ^
0_0_33266008_1895.cpp:69:8: error: stray '#' in program
   scanf("%d",&a);
        ^
0_0_33266008_1895.cpp:70:2: error: stray '#' in program
  // gqueue(p1,a);  ÕâÁ½¾ä·ÅÔÚ´Ë´¦²»ÕýÈ·£¬ÒòΪҪÏȸøp1,p2·ÖÅä¿Õ¼ä²Å¿ÉÒÔÈ·¶¨Æä×î´óÈÝÁ¿
  ^
0_0_33266008_1895.cpp:71:2: error: stray '#' in program
  // gqueue(p2,a);
  ^
0_0_33266008_1895.cpp:72:2: error: stray '#' in program
      p1=(queue *)malloc(sizeof(queue));
  ^
0_0_33266008_1895.cpp:72:8: error: stray '#' in program
      p1=(queue *)malloc(sizeof(queue));
        ^
0_0_33266008_1895.cpp:72:14: error: stray '#' in program
      p1=(queue *)malloc(sizeof(queue));
              ^
0_0_33266008_1895.cpp:72:20: error: stray '#' in program
      p1=(queue *)malloc(sizeof(queue));
                    ^
0_0_33266008_1895.cpp:73:2: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
  ^
0_0_33266008_1895.cpp:73:8: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
        ^
0_0_33266008_1895.cpp:73:14: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
              ^
0_0_33266008_1895.cpp:73:20: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
                    ^
0_0_33266008_1895.cpp:73:26: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
                          ^
0_0_33266008_1895.cpp:73:32: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
                                ^
0_0_33266008_1895.cpp:73:38: error: stray '#' in program
         p2=(queue *)malloc(sizeof(queue)); //·ÖÅä¿Õ¼äÊÇ×¢Òâp1,p2ÊÇqueueÀàÐ͵Ä
                                      ^
0_0_33266008_1895.cpp:74:2: error: stray '#' in program
   gqueue(p1,a);
  ^
0_0_33266008_1895.cpp:74:8: error: stray '#' in program
   gqueue(p1,a);
        ^
0_0_33266008_1895.cpp:75:2: error: stray '#' in program
   gqueue(p2,a);
  ^
0_0_33266008_1895.cpp:75:8: error: stray '#' in program
   gqueue(p2,a);
        ^
0_0_33266008_1895.cpp:76:2: error: stray '#' in program
   for(i=1;i<=a;i++)
  ^
0_0_33266008_1895.cpp:76:8: error: stray '#' in program
   for(i=1;i<=a;i++)
        ^
0_0_33266008_1895.cpp:77:2: error: stray '#' in program
   getqueue(p1,i);
  ^
0_0_33266008_1895.cpp:77:8: error: stray '#' in program
   getqueue(p1,i);
        ^
0_0_33266008_1895.cpp:78:2: error: stray '#' in program
   ans=p1;
  ^
0_0_33266008_1895.cpp:78:8: error: stray '#' in program
   ans=p1;
        ^
0_0_33266008_1895.cpp:79:2: error: stray '#' in program
   while(p1->size>3){  //×ÜÑ­»·Ìõ¼þ
  ^
0_0_33266008_1895.cpp:79:8: error: stray '#' in program
   while(p1->size>3){  //×ÜÑ­»·Ìõ¼þ
        ^
0_0_33266008_1895.cpp:79:32: error: stray '#' in program
   while(p1->size>3){  //×ÜÑ­»·Ìõ¼þ
                                ^
0_0_33266008_1895.cpp:80:2: error: stray '#' in program
    fqueue(p2);
  ^
0_0_33266008_1895.cpp:80:8: error: stray '#' in program
    fqueue(p2);
        ^
0_0_33266008_1895.cpp:80:14: error: stray '#' in program
    fqueue(p2);
              ^
0_0_33266008_1895.cpp:81:2: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
  ^
0_0_33266008_1895.cpp:81:8: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
        ^
0_0_33266008_1895.cpp:81:14: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
              ^
0_0_33266008_1895.cpp:81:20: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
                    ^
0_0_33266008_1895.cpp:81:26: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
                          ^
0_0_33266008_1895.cpp:81:32: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶ÓÁв»Îª¿Õʱ½øÐÐÑ­»·
                                ^
0_0_33266008_1895.cpp:81:38: error: stray '#' in program
             while(p1->head!=p1->tail){  //µ±¶


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-11-26 20:46:38, Gzip enabled