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_19743689_18993.cpp:3:1: error: stray '\241' in program
  struct node
 ^
0_0_19743689_18993.cpp:3:1: error: stray '\241' in program
0_0_19743689_18993.cpp:4:1: error: stray '\241' in program
  {
 ^
0_0_19743689_18993.cpp:4:1: error: stray '\241' in program
0_0_19743689_18993.cpp:5:1: error: stray '\241' in program
      int end,next;       
 ^
0_0_19743689_18993.cpp:5:1: error: stray '\241' in program
0_0_19743689_18993.cpp:6:1: error: stray '\241' in program
  }edge[10002];
 ^
0_0_19743689_18993.cpp:6:1: error: stray '\241' in program
0_0_19743689_18993.cpp:7:1: error: stray '\241' in program
  int head[102],n,m,start,end,maxval,color[102];
 ^
0_0_19743689_18993.cpp:7:1: error: stray '\241' in program
0_0_19743689_18993.cpp:8:1: error: stray '\241' in program
  int answer[102];
 ^
0_0_19743689_18993.cpp:8:1: error: stray '\241' in program
0_0_19743689_18993.cpp:9:1: error: stray '\241' in program
  void dfs(int i,int j)
 ^
0_0_19743689_18993.cpp:9:1: error: stray '\241' in program
0_0_19743689_18993.cpp:10:1: error: stray '\241' in program
  {
 ^
0_0_19743689_18993.cpp:10:1: error: stray '\241' in program
0_0_19743689_18993.cpp:11:1: error: stray '\241' in program
      if(i>=n)
 ^
0_0_19743689_18993.cpp:11:1: error: stray '\241' in program
0_0_19743689_18993.cpp:12:1: error: stray '\241' in program
      {
 ^
0_0_19743689_18993.cpp:12:1: error: stray '\241' in program
0_0_19743689_18993.cpp:13:1: error: stray '\241' in program
          if(j>maxval)
 ^
0_0_19743689_18993.cpp:13:1: error: stray '\241' in program
0_0_19743689_18993.cpp:14:1: error: stray '\241' in program
          {
 ^
0_0_19743689_18993.cpp:14:1: error: stray '\241' in program
0_0_19743689_18993.cpp:15:1: error: stray '\241' in program
              maxval=j;
 ^
0_0_19743689_18993.cpp:15:1: error: stray '\241' in program
0_0_19743689_18993.cpp:16:1: error: stray '\241' in program
              for(int i=1;i<=n;i++)answer[i]=color[i];
 ^
0_0_19743689_18993.cpp:16:1: error: stray '\241' in program
0_0_19743689_18993.cpp:17:1: error: stray '\241' in program
          }    
 ^
0_0_19743689_18993.cpp:17:1: error: stray '\241' in program
0_0_19743689_18993.cpp:18:1: error: stray '\241' in program
          return ;
 ^
0_0_19743689_18993.cpp:18:1: error: stray '\241' in program
0_0_19743689_18993.cpp:19:1: error: stray '\241' in program
      }
 ^
0_0_19743689_18993.cpp:19:1: error: stray '\241' in program
0_0_19743689_18993.cpp:20:1: error: stray '\241' in program
      color[i]=-1;
 ^
0_0_19743689_18993.cpp:20:1: error: stray '\241' in program
0_0_19743689_18993.cpp:21:1: error: stray '\241' in program
      int end;
 ^
0_0_19743689_18993.cpp:21:1: error: stray '\241' in program
0_0_19743689_18993.cpp:22:1: error: stray '\241' in program
      for(end=head[i];end!=-1;end=edge[end].next)
 ^
0_0_19743689_18993.cpp:22:1: error: stray '\241' in program
0_0_19743689_18993.cpp:23:1: error: stray '\241' in program
      {
 ^
0_0_19743689_18993.cpp:23:1: error: stray '\241' in program
0_0_19743689_18993.cpp:24:1: error: stray '\241' in program
          if(color[edge[end].end]==-1)
 ^
0_0_19743689_18993.cpp:24:1: error: stray '\241' in program
0_0_19743689_18993.cpp:25:1: error: stray '\241' in program
          break;
 ^
0_0_19743689_18993.cpp:25:1: error: stray '\241' in program
0_0_19743689_18993.cpp:26:1: error: stray '\241' in program
      }
 ^
0_0_19743689_18993.cpp:26:1: error: stray '\241' in program
0_0_19743689_18993.cpp:27:1: error: stray '\241' in program
      if(end==-1)dfs(i+1,j+1);
 ^
0_0_19743689_18993.cpp:27:1: error: stray '\241' in program
0_0_19743689_18993.cpp:28:1: error: stray '\241' in program
      
 ^
0_0_19743689_18993.cpp:28:1: error: stray '\241' in program
0_0_19743689_18993.cpp:29:1: error: stray '\241' in program
       color[i]=1;
 ^
0_0_19743689_18993.cpp:29:1: error: stray '\241' in program
0_0_19743689_18993.cpp:30:1: error: stray '\241' in program
       dfs(i+1,j);
 ^
0_0_19743689_18993.cpp:30:1: error: stray '\241' in program
0_0_19743689_18993.cpp:31:1: error: stray '\241' in program
       color[i]=0;
 ^
0_0_19743689_18993.cpp:31:1: error: stray '\241' in program
0_0_19743689_18993.cpp:32:1: error: stray '\241' in program
      
 ^
0_0_19743689_18993.cpp:32:1: error: stray '\241' in program
0_0_19743689_18993.cpp:33:1: error: stray '\241' in program
  }
 ^
0_0_19743689_18993.cpp:33:1: error: stray '\241' in program
0_0_19743689_18993.cpp:34:1: error: stray '\241' in program
  int main()
 ^
0_0_19743689_18993.cpp:34:1: error: stray '\241' in program
0_0_19743689_18993.cpp:35:1: error: stray '\241' in program
  {
 ^
0_0_19743689_18993.cpp:35:1: error: stray '\241' in program
0_0_19743689_18993.cpp:36:1: error: stray '\241' in program
     int t;
 ^
0_0_19743689_18993.cpp:36:1: error: stray '\241' in program
0_0_19743689_18993.cpp:37:1: error: stray '\241' in program
     scanf("%d",&t);
 ^
0_0_19743689_18993.cpp:37:1: error: stray '\241' in program
0_0_19743689_18993.cpp:38:1: error: stray '\241' in program
     while(t--)
 ^
0_0_19743689_18993.cpp:38:1: error: stray '\241' in program
0_0_19743689_18993.cpp:39:1: error: stray '\241' in program
     {
 ^
0_0_19743689_18993.cpp:39:1: error: stray '\241' in program
0_0_19743689_18993.cpp:40:1: error: stray '\241' in program
             scanf("%d%d",&n,&m);
 ^
0_0_19743689_18993.cpp:40:1: error: stray '\241' in program
0_0_19743689_18993.cpp:41:1: error: stray '\241' in program
             for(int i=1;i<=n;i++)head[i]=-1;
 ^
0_0_19743689_18993.cpp:41:1: error: stray '\241' in program
0_0_19743689_18993.cpp:42:1: error: stray '\241' in program
             for(int i=0,Count=0;i<m;i++)
 ^
0_0_19743689_18993.cpp:42:1: error: stray '\241' in program
0_0_19743689_18993.cpp:43:1: error: stray '\241' in program
             {
 ^
0_0_19743689_18993.cpp:43:1: error: stray '\241' in program
0_0_19743689_18993.cpp:44:1: error: stray '\241' in program
                 scanf("%d%d",&start,&end);
 ^
0_0_19743689_18993.cpp:44:1: error: stray '\241' in program
0_0_19743689_18993.cpp:45:1: error: stray '\241' in program
                 edge[Count].end=end;
 ^
0_0_19743689_18993.cpp:45:1: error: stray '\241' in program
0_0_19743689_18993.cpp:46:1: error: stray '\241' in program
                 edge[Count].next=head[start];
 ^
0_0_19743689_18993.cpp:46:1: error: stray '\241' in program
0_0_19743689_18993.cpp:47:1: error: stray '\241' in program
                 head[start]=Count++;
 ^
0_0_19743689_18993.cpp:47:1: error: stray '\241' in program
0_0_19743689_18993.cpp:48:1: error: stray '\241' in program
                 edge[Count].end=start;
 ^
0_0_19743689_18993.cpp:48:1: error: stray '\241' in program
0_0_19743689_18993.cpp:49:1: error: stray '\241' in program
                 edge[Count].next=head[end];
 ^
0_0_19743689_18993.cpp:49:1: error: stray '\241' in program
0_0_19743689_18993.cpp:50:1: error: stray '\241' in program
                 head[end]=Count++;
 ^
0_0_19743689_18993.cpp:50:1: error: stray '\241' in program
0_0_19743689_18993.cpp:51:1: error: stray '\241' in program
             }
 ^
0_0_19743689_18993.cpp:51:1: error: stray '\241' in program
0_0_19743689_18993.cpp:52:1: error: stray '\241' in program
             maxval=0;
 ^
0_0_19743689_18993.cpp:52:1: error: stray '\241' in program
0_0_19743689_18993.cpp:53:1: error: stray '\241' in program
             dfs(1,0);
 ^
0_0_19743689_18993.cpp:53:1: error: stray '\241' in program
0_0_19743689_18993.cpp:54:1: error: stray '\241' in program
             printf("%d\n",maxval);
 ^
0_0_19743689_18993.cpp:54:1: error: stray '\241' in program
0_0_19743689_18993.cpp:55:1: error: stray '\241' in program
             for(int i=1;i<=n;i++)if(answer[i]==-1)printf("%d ",i);
 ^
0_0_19743689_18993.cpp:55:1: error: stray '\241' in program
0_0_19743689_18993.cpp:56:1: error: stray '\241' in program
             printf("\n");
 ^
0_0_19743689_18993.cpp:56:1: error: stray '\241' in program
0_0_19743689_18993.cpp:57:1: error: stray '\241' in program
     }
 ^
0_0_19743689_18993.cpp:57:1: error: stray '\241' in program
0_0_19743689_18993.cpp:58:1: error: stray '\241' in program
     return 0;    
 ^
0_0_19743689_18993.cpp:58:1: error: stray '\241' in program
0_0_19743689_18993.cpp:59:1: error: stray '\241' in program
  } 
 ^
0_0_19743689_18993.cpp:59:1: error: stray '\241' in program
0_0_19743689_18993.cpp:60:1: error: stray '\241' in program
  
 ^
0_0_19743689_18993.cpp:60:1: error: stray '\241' in program
0_0_19743689_18993.cpp:61:1: error: stray '\241' in program
  
 ^
0_0_19743689_18993.cpp:61:1: error: stray '\241' in program
0_0_19743689_18993.cpp: In function 'int main()':
0_0_19743689_18993.cpp:44:39: error: reference to 'end' is ambiguous
                 scanf("%d%d",&start,&end);
                                       ^
0_0_19743689_18993.cpp:7:27: note: candidates are: int end
  int head[102],n,m,start,end,maxval,color[102];
                           ^
In file included from GCC4.9.2/x86_64-w64


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 21:08:32, Gzip enabled