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_22985172_1756.cpp:10:2: error: stray '#' in program
     int t,cas=0;
  ^
0_0_22985172_1756.cpp:10:9: error: stray '#' in program
     int t,cas=0;
         ^
0_0_22985172_1756.cpp:11:2: error: stray '#' in program
     scanf("%d",&t);
  ^
0_0_22985172_1756.cpp:11:9: error: stray '#' in program
     scanf("%d",&t);
         ^
0_0_22985172_1756.cpp:12:2: error: stray '#' in program
     while(t--)
  ^
0_0_22985172_1756.cpp:12:9: error: stray '#' in program
     while(t--)
         ^
0_0_22985172_1756.cpp:13:2: error: stray '#' in program
     {
  ^
0_0_22985172_1756.cpp:13:9: error: stray '#' in program
     {
         ^
0_0_22985172_1756.cpp:14:2: error: stray '#' in program
         int n;
  ^
0_0_22985172_1756.cpp:14:9: error: stray '#' in program
         int n;
         ^
0_0_22985172_1756.cpp:14:16: error: stray '#' in program
         int n;
                ^
0_0_22985172_1756.cpp:14:23: error: stray '#' in program
         int n;
                       ^
0_0_22985172_1756.cpp:15:2: error: stray '#' in program
         int sum=1;
  ^
0_0_22985172_1756.cpp:15:9: error: stray '#' in program
         int sum=1;
         ^
0_0_22985172_1756.cpp:15:16: error: stray '#' in program
         int sum=1;
                ^
0_0_22985172_1756.cpp:15:23: error: stray '#' in program
         int sum=1;
                       ^
0_0_22985172_1756.cpp:16:2: error: stray '#' in program
         int i,flag=0;
  ^
0_0_22985172_1756.cpp:16:9: error: stray '#' in program
         int i,flag=0;
         ^
0_0_22985172_1756.cpp:16:16: error: stray '#' in program
         int i,flag=0;
                ^
0_0_22985172_1756.cpp:16:23: error: stray '#' in program
         int i,flag=0;
                       ^
0_0_22985172_1756.cpp:17:2: error: stray '#' in program
         scanf("%d",&n);
  ^
0_0_22985172_1756.cpp:17:9: error: stray '#' in program
         scanf("%d",&n);
         ^
0_0_22985172_1756.cpp:17:16: error: stray '#' in program
         scanf("%d",&n);
                ^
0_0_22985172_1756.cpp:17:23: error: stray '#' in program
         scanf("%d",&n);
                       ^
0_0_22985172_1756.cpp:18:2: error: stray '#' in program
         memset(a,0,sizeof(a));
  ^
0_0_22985172_1756.cpp:18:9: error: stray '#' in program
         memset(a,0,sizeof(a));
         ^
0_0_22985172_1756.cpp:18:16: error: stray '#' in program
         memset(a,0,sizeof(a));
                ^
0_0_22985172_1756.cpp:18:23: error: stray '#' in program
         memset(a,0,sizeof(a));
                       ^
0_0_22985172_1756.cpp:19:2: error: stray '#' in program
         for(i=1;i<=n;i++)
  ^
0_0_22985172_1756.cpp:19:9: error: stray '#' in program
         for(i=1;i<=n;i++)
         ^
0_0_22985172_1756.cpp:19:16: error: stray '#' in program
         for(i=1;i<=n;i++)
                ^
0_0_22985172_1756.cpp:19:23: error: stray '#' in program
         for(i=1;i<=n;i++)
                       ^
0_0_22985172_1756.cpp:20:2: error: stray '#' in program
         {
  ^
0_0_22985172_1756.cpp:20:9: error: stray '#' in program
         {
         ^
0_0_22985172_1756.cpp:20:16: error: stray '#' in program
         {
                ^
0_0_22985172_1756.cpp:20:23: error: stray '#' in program
         {
                       ^
0_0_22985172_1756.cpp:21:2: error: stray '#' in program
             scanf("%d",&a[i]);
  ^
0_0_22985172_1756.cpp:21:9: error: stray '#' in program
             scanf("%d",&a[i]);
         ^
0_0_22985172_1756.cpp:21:16: error: stray '#' in program
             scanf("%d",&a[i]);
                ^
0_0_22985172_1756.cpp:21:23: error: stray '#' in program
             scanf("%d",&a[i]);
                       ^
0_0_22985172_1756.cpp:21:30: error: stray '#' in program
             scanf("%d",&a[i]);
                              ^
0_0_22985172_1756.cpp:21:37: error: stray '#' in program
             scanf("%d",&a[i]);
                                     ^
0_0_22985172_1756.cpp:22:2: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
  ^
0_0_22985172_1756.cpp:22:9: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
         ^
0_0_22985172_1756.cpp:22:16: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
                ^
0_0_22985172_1756.cpp:22:23: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
                       ^
0_0_22985172_1756.cpp:22:30: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
                              ^
0_0_22985172_1756.cpp:22:37: error: stray '#' in program
             if(abs(a[i]-a[i-1])>3||a[i]==a[i-1]&&a[i]!=1) flag=1;
                                     ^
0_0_22985172_1756.cpp:23:2: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
  ^
0_0_22985172_1756.cpp:23:9: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
         ^
0_0_22985172_1756.cpp:23:16: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
                ^
0_0_22985172_1756.cpp:23:23: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
                       ^
0_0_22985172_1756.cpp:23:30: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
                              ^
0_0_22985172_1756.cpp:23:37: error: stray '#' in program
             if(a[i]==2&&a[i-1]==1||a[i]==1&&a[i-1]==2) sum++;
                                     ^
0_0_22985172_1756.cpp:24:2: error: stray '#' in program
            // printf("**%d",a[i]);
  ^
0_0_22985172_1756.cpp:24:9: error: stray '#' in program
            // printf("**%d",a[i]);
         ^
0_0_22985172_1756.cpp:24:16: error: stray '#' in program
            // printf("**%d",a[i]);
                ^
0_0_22985172_1756.cpp:24:23: error: stray '#' in program
            // printf("**%d",a[i]);
                       ^
0_0_22985172_1756.cpp:24:30: error: stray '#' in program
            // printf("**%d",a[i]);
                              ^
0_0_22985172_1756.cpp:24:37: error: stray '#' in program
            // printf("**%d",a[i]);
                                     ^
0_0_22985172_1756.cpp:25:2: error: stray '#' in program
         }
  ^
0_0_22985172_1756.cpp:25:9: error: stray '#' in program
         }
         ^
0_0_22985172_1756.cpp:25:16: error: stray '#' in program
         }
                ^
0_0_22985172_1756.cpp:25:23: error: stray '#' in program
         }
                       ^
0_0_22985172_1756.cpp:26:2: error: stray '#' in program
      //   printf("\n%d\n",sum);
  ^
0_0_22985172_1756.cpp:26:9: error: stray '#' in program
      //   printf("\n%d\n",sum);
         ^
0_0_22985172_1756.cpp:26:16: error: stray '#' in program
      //   printf("\n%d\n",sum);
                ^
0_0_22985172_1756.cpp:27:2: error: stray '#' in program
         if(flag||!n) {printf("Case #%d: 0\n",++cas);continue;}
  ^
0_0_22985172_1756.cpp:27:9: error: stray '#' in program
         if(flag||!n) {printf("Case #%d: 0\n",++cas);continue;}
         ^
0_0_22985172_1756.cpp:27:16: error: stray '#' in program
         if(flag||!n) {printf("Case #%d: 0\n",++cas);continue;}
                ^
0_0_22985172_1756.cpp:27:23: error: stray '#' in program
         if(flag||!n) {printf("Case #%d: 0\n",++cas);continue;}
                       ^
0_0_22985172_1756.cpp:28:2: error: stray '#' in program
         if(a[n])
  ^
0_0_22985172_1756.cpp:28:9: error: stray '#' in program
         if(a[n])
         ^
0_0_22985172_1756.cpp:28:16: error: stray '#' in program
         if(a[n])
                ^
0_0_22985172_1756.cpp:28:23: error: stray '#' in prog


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-30 01:19:55, Gzip enabled