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_20995967_26797.cpp:9:2: error: stray '#' in program
     int n,m,i;
  ^
0_0_20995967_26797.cpp:9:9: error: stray '#' in program
     int n,m,i;
         ^
0_0_20995967_26797.cpp:10:2: error: stray '#' in program
     while(~scanf("%d%d",&n,&m))
  ^
0_0_20995967_26797.cpp:10:9: error: stray '#' in program
     while(~scanf("%d%d",&n,&m))
         ^
0_0_20995967_26797.cpp:11:2: error: stray '#' in program
     {
  ^
0_0_20995967_26797.cpp:11:9: error: stray '#' in program
     {
         ^
0_0_20995967_26797.cpp:12:2: error: stray '#' in program
         if(n>=m)
  ^
0_0_20995967_26797.cpp:12:9: error: stray '#' in program
         if(n>=m)
         ^
0_0_20995967_26797.cpp:12:16: error: stray '#' in program
         if(n>=m)
                ^
0_0_20995967_26797.cpp:12:23: error: stray '#' in program
         if(n>=m)
                       ^
0_0_20995967_26797.cpp:13:2: error: stray '#' in program
         {
  ^
0_0_20995967_26797.cpp:13:9: error: stray '#' in program
         {
         ^
0_0_20995967_26797.cpp:13:16: error: stray '#' in program
         {
                ^
0_0_20995967_26797.cpp:13:23: error: stray '#' in program
         {
                       ^
0_0_20995967_26797.cpp:14:2: error: stray '#' in program
             printf("%d\n",m-1);continue;
  ^
0_0_20995967_26797.cpp:14:9: error: stray '#' in program
             printf("%d\n",m-1);continue;
         ^
0_0_20995967_26797.cpp:14:16: error: stray '#' in program
             printf("%d\n",m-1);continue;
                ^
0_0_20995967_26797.cpp:14:23: error: stray '#' in program
             printf("%d\n",m-1);continue;
                       ^
0_0_20995967_26797.cpp:14:30: error: stray '#' in program
             printf("%d\n",m-1);continue;
                              ^
0_0_20995967_26797.cpp:14:37: error: stray '#' in program
             printf("%d\n",m-1);continue;
                                     ^
0_0_20995967_26797.cpp:15:2: error: stray '#' in program
         }
  ^
0_0_20995967_26797.cpp:15:9: error: stray '#' in program
         }
         ^
0_0_20995967_26797.cpp:15:16: error: stray '#' in program
         }
                ^
0_0_20995967_26797.cpp:15:23: error: stray '#' in program
         }
                       ^
0_0_20995967_26797.cpp:16:2: error: stray '#' in program
         if(n==1)
  ^
0_0_20995967_26797.cpp:16:9: error: stray '#' in program
         if(n==1)
         ^
0_0_20995967_26797.cpp:16:16: error: stray '#' in program
         if(n==1)
                ^
0_0_20995967_26797.cpp:16:23: error: stray '#' in program
         if(n==1)
                       ^
0_0_20995967_26797.cpp:17:2: error: stray '#' in program
         {
  ^
0_0_20995967_26797.cpp:17:9: error: stray '#' in program
         {
         ^
0_0_20995967_26797.cpp:17:16: error: stray '#' in program
         {
                ^
0_0_20995967_26797.cpp:17:23: error: stray '#' in program
         {
                       ^
0_0_20995967_26797.cpp:18:2: error: stray '#' in program
             printf("0\n");continue;
  ^
0_0_20995967_26797.cpp:18:9: error: stray '#' in program
             printf("0\n");continue;
         ^
0_0_20995967_26797.cpp:18:16: error: stray '#' in program
             printf("0\n");continue;
                ^
0_0_20995967_26797.cpp:18:23: error: stray '#' in program
             printf("0\n");continue;
                       ^
0_0_20995967_26797.cpp:18:30: error: stray '#' in program
             printf("0\n");continue;
                              ^
0_0_20995967_26797.cpp:18:37: error: stray '#' in program
             printf("0\n");continue;
                                     ^
0_0_20995967_26797.cpp:19:2: error: stray '#' in program
         }
  ^
0_0_20995967_26797.cpp:19:9: error: stray '#' in program
         }
         ^
0_0_20995967_26797.cpp:19:16: error: stray '#' in program
         }
                ^
0_0_20995967_26797.cpp:19:23: error: stray '#' in program
         }
                       ^
0_0_20995967_26797.cpp:20:2: error: stray '#' in program
         int x=m/n;
  ^
0_0_20995967_26797.cpp:20:9: error: stray '#' in program
         int x=m/n;
         ^
0_0_20995967_26797.cpp:20:16: error: stray '#' in program
         int x=m/n;
                ^
0_0_20995967_26797.cpp:20:23: error: stray '#' in program
         int x=m/n;
                       ^
0_0_20995967_26797.cpp:21:2: error: stray '#' in program
         x=m-x*n;
  ^
0_0_20995967_26797.cpp:21:9: error: stray '#' in program
         x=m-x*n;
         ^
0_0_20995967_26797.cpp:21:16: error: stray '#' in program
         x=m-x*n;
                ^
0_0_20995967_26797.cpp:21:23: error: stray '#' in program
         x=m-x*n;
                       ^
0_0_20995967_26797.cpp:22:2: error: stray '#' in program
         if(x==0)
  ^
0_0_20995967_26797.cpp:22:9: error: stray '#' in program
         if(x==0)
         ^
0_0_20995967_26797.cpp:22:16: error: stray '#' in program
         if(x==0)
                ^
0_0_20995967_26797.cpp:22:23: error: stray '#' in program
         if(x==0)
                       ^
0_0_20995967_26797.cpp:23:2: error: stray '#' in program
         {
  ^
0_0_20995967_26797.cpp:23:9: error: stray '#' in program
         {
         ^
0_0_20995967_26797.cpp:23:16: error: stray '#' in program
         {
                ^
0_0_20995967_26797.cpp:23:23: error: stray '#' in program
         {
                       ^
0_0_20995967_26797.cpp:24:2: error: stray '#' in program
             printf("%d\n",n-1);continue;
  ^
0_0_20995967_26797.cpp:24:9: error: stray '#' in program
             printf("%d\n",n-1);continue;
         ^
0_0_20995967_26797.cpp:24:16: error: stray '#' in program
             printf("%d\n",n-1);continue;
                ^
0_0_20995967_26797.cpp:24:23: error: stray '#' in program
             printf("%d\n",n-1);continue;
                       ^
0_0_20995967_26797.cpp:24:30: error: stray '#' in program
             printf("%d\n",n-1);continue;
                              ^
0_0_20995967_26797.cpp:24:37: error: stray '#' in program
             printf("%d\n",n-1);continue;
                                     ^
0_0_20995967_26797.cpp:25:2: error: stray '#' in program
         }
  ^
0_0_20995967_26797.cpp:25:9: error: stray '#' in program
         }
         ^
0_0_20995967_26797.cpp:25:16: error: stray '#' in program
         }
                ^
0_0_20995967_26797.cpp:25:23: error: stray '#' in program
         }
                       ^
0_0_20995967_26797.cpp:26:2: error: stray '#' in program
         /*
  ^
0_0_20995967_26797.cpp:26:9: error: stray '#' in program
         /*
         ^
0_0_20995967_26797.cpp:26:16: error: stray '#' in program
         /*
                ^
0_0_20995967_26797.cpp:26:23: error: stray '#' in program
         /*
                       ^
0_0_20995967_26797.cpp:37:2: error: stray '#' in program
         printf("%d\n",x-1);
  ^
0_0_20995967_26797.cpp:37:9: error: stray '#' in program
         printf("%d\n",x-1);
         ^
0_0_20995967_26797.cpp:37:16: error: stray '#' in program
         printf("%d\n",x-1);
                ^
0_0_20995967_26797.cpp:37:23: error: stray '#' in program
         printf("%d\n",x-1);
                       ^
0_0_20995967_26797.cpp:38:2: error: stray '#' in program
     }
  ^
0_0_20995967_26797.cpp:38:9: error: stray '#' in program
     }
         ^
0_0_20995967_26797.cpp:39:2: error: stray '#' in program
     return 0;
  ^
0_0_20995967_26797.cpp:39:9: error: stray '#' in program
     return 0;
         ^
0_0_20995967_26797.cpp: In function 'int main()':
0_0_20995967_26797.cpp:9:3: error: lvalue required as unary '&' operand
     int n,m,i;
   ^
0_0_20995


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 09:39:21, Gzip enabled