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_32441121_22177.cpp:9:2: error: stray '#' in program
     //freopen("/Users/zhangjiatao/Desktop/input.txt","r",stdin);
  ^
0_0_32441121_22177.cpp:9:9: error: stray '#' in program
     //freopen("/Users/zhangjiatao/Desktop/input.txt","r",stdin);
         ^
0_0_32441121_22177.cpp:11:2: error: stray '#' in program
     int n;
  ^
0_0_32441121_22177.cpp:11:9: error: stray '#' in program
     int n;
         ^
0_0_32441121_22177.cpp:13:2: error: stray '#' in program
     while(cin>>n)
  ^
0_0_32441121_22177.cpp:13:9: error: stray '#' in program
     while(cin>>n)
         ^
0_0_32441121_22177.cpp:15:2: error: stray '#' in program
     {
  ^
0_0_32441121_22177.cpp:15:9: error: stray '#' in program
     {
         ^
0_0_32441121_22177.cpp:17:2: error: stray '#' in program
         if(n==0) break;
  ^
0_0_32441121_22177.cpp:17:9: error: stray '#' in program
         if(n==0) break;
         ^
0_0_32441121_22177.cpp:17:16: error: stray '#' in program
         if(n==0) break;
                ^
0_0_32441121_22177.cpp:17:23: error: stray '#' in program
         if(n==0) break;
                       ^
0_0_32441121_22177.cpp:19:2: error: stray '#' in program
         char color[1001][16];
  ^
0_0_32441121_22177.cpp:19:9: error: stray '#' in program
         char color[1001][16];
         ^
0_0_32441121_22177.cpp:19:16: error: stray '#' in program
         char color[1001][16];
                ^
0_0_32441121_22177.cpp:19:23: error: stray '#' in program
         char color[1001][16];
                       ^
0_0_32441121_22177.cpp:21:2: error: stray '#' in program
         int counter[1001];
  ^
0_0_32441121_22177.cpp:21:9: error: stray '#' in program
         int counter[1001];
         ^
0_0_32441121_22177.cpp:21:16: error: stray '#' in program
         int counter[1001];
                ^
0_0_32441121_22177.cpp:21:23: error: stray '#' in program
         int counter[1001];
                       ^
0_0_32441121_22177.cpp:23:2: error: stray '#' in program
         memset(counter,0,sizeof(counter));
  ^
0_0_32441121_22177.cpp:23:9: error: stray '#' in program
         memset(counter,0,sizeof(counter));
         ^
0_0_32441121_22177.cpp:23:16: error: stray '#' in program
         memset(counter,0,sizeof(counter));
                ^
0_0_32441121_22177.cpp:23:23: error: stray '#' in program
         memset(counter,0,sizeof(counter));
                       ^
0_0_32441121_22177.cpp:25:2: error: stray '#' in program
         for(int i=1;i<=n;i++)
  ^
0_0_32441121_22177.cpp:25:9: error: stray '#' in program
         for(int i=1;i<=n;i++)
         ^
0_0_32441121_22177.cpp:25:16: error: stray '#' in program
         for(int i=1;i<=n;i++)
                ^
0_0_32441121_22177.cpp:25:23: error: stray '#' in program
         for(int i=1;i<=n;i++)
                       ^
0_0_32441121_22177.cpp:27:2: error: stray '#' in program
         {
  ^
0_0_32441121_22177.cpp:27:9: error: stray '#' in program
         {
         ^
0_0_32441121_22177.cpp:27:16: error: stray '#' in program
         {
                ^
0_0_32441121_22177.cpp:27:23: error: stray '#' in program
         {
                       ^
0_0_32441121_22177.cpp:29:2: error: stray '#' in program
             cin>>color[i];
  ^
0_0_32441121_22177.cpp:29:9: error: stray '#' in program
             cin>>color[i];
         ^
0_0_32441121_22177.cpp:29:16: error: stray '#' in program
             cin>>color[i];
                ^
0_0_32441121_22177.cpp:29:23: error: stray '#' in program
             cin>>color[i];
                       ^
0_0_32441121_22177.cpp:29:30: error: stray '#' in program
             cin>>color[i];
                              ^
0_0_32441121_22177.cpp:29:37: error: stray '#' in program
             cin>>color[i];
                                     ^
0_0_32441121_22177.cpp:31:2: error: stray '#' in program
             counter[i]=1;
  ^
0_0_32441121_22177.cpp:31:9: error: stray '#' in program
             counter[i]=1;
         ^
0_0_32441121_22177.cpp:31:16: error: stray '#' in program
             counter[i]=1;
                ^
0_0_32441121_22177.cpp:31:23: error: stray '#' in program
             counter[i]=1;
                       ^
0_0_32441121_22177.cpp:31:30: error: stray '#' in program
             counter[i]=1;
                              ^
0_0_32441121_22177.cpp:31:37: error: stray '#' in program
             counter[i]=1;
                                     ^
0_0_32441121_22177.cpp:33:2: error: stray '#' in program
         }
  ^
0_0_32441121_22177.cpp:33:9: error: stray '#' in program
         }
         ^
0_0_32441121_22177.cpp:33:16: error: stray '#' in program
         }
                ^
0_0_32441121_22177.cpp:33:23: error: stray '#' in program
         }
                       ^
0_0_32441121_22177.cpp:35:2: error: stray '#' in program
         for(int i=1;i<=n-1;i++)
  ^
0_0_32441121_22177.cpp:35:9: error: stray '#' in program
         for(int i=1;i<=n-1;i++)
         ^
0_0_32441121_22177.cpp:35:16: error: stray '#' in program
         for(int i=1;i<=n-1;i++)
                ^
0_0_32441121_22177.cpp:35:23: error: stray '#' in program
         for(int i=1;i<=n-1;i++)
                       ^
0_0_32441121_22177.cpp:37:2: error: stray '#' in program
         {
  ^
0_0_32441121_22177.cpp:37:9: error: stray '#' in program
         {
         ^
0_0_32441121_22177.cpp:37:16: error: stray '#' in program
         {
                ^
0_0_32441121_22177.cpp:37:23: error: stray '#' in program
         {
                       ^
0_0_32441121_22177.cpp:39:2: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
  ^
0_0_32441121_22177.cpp:39:9: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
         ^
0_0_32441121_22177.cpp:39:16: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                ^
0_0_32441121_22177.cpp:39:23: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                       ^
0_0_32441121_22177.cpp:39:30: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                              ^
0_0_32441121_22177.cpp:39:37: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                                     ^
0_0_32441121_22177.cpp:41:2: error: stray '#' in program
             {
  ^
0_0_32441121_22177.cpp:41:9: error: stray '#' in program
             {
         ^
0_0_32441121_22177.cpp:41:16: error: stray '#' in program
             {
                ^
0_0_32441121_22177.cpp:41:23: error: stray '#' in program
             {
                       ^
0_0_32441121_22177.cpp:41:30: error: stray '#' in program
             {
                              ^
0_0_32441121_22177.cpp:41:37: error: stray '#' in program
             {
                                     ^
0_0_32441121_22177.cpp:43:2: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
  ^
0_0_32441121_22177.cpp:43:9: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
         ^
0_0_32441121_22177.cpp:43:16: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
                ^
0_0_32441121_22177.cpp:43:23: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
                       ^
0_0_32441121_22177.cpp:43:30: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
                              ^
0_0_32441121_22177.cpp:43:37: error: stray '#' in program
                 if(strcmp(color[i],color[j])==0)
                                     ^
0_0_32441121_22177.cpp:43:44: error: stray '#' in program
                 if(strcmp(c


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-17 21:55:40, Gzip enabled