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_20969189_24305.cpp:27:19: error: '#' is not followed by a macro parameter
 #define forb(i,a,b)   for(int i=a;i<b;i++)
                   ^
0_0_20969189_24305.cpp:28:19: error: '#' is not followed by a macro parameter
 #define ford(i,a,b)   for(int i=a;i<=b;i++)
                   ^
0_0_20969189_24305.cpp:57:25: error: stray '#' in program
     for(int k=0;k<ren;k++)
                         ^
0_0_20969189_24305.cpp:57:30: error: stray '#' in program
     for(int k=0;k<ren;k++)
                              ^
0_0_20969189_24305.cpp:58:20: error: stray '#' in program
         if(xh[i][j+k]==-1)
                    ^
0_0_20969189_24305.cpp:68:23: error: stray '#' in program
     for(int i=0;i<n;i++)
                       ^
0_0_20969189_24305.cpp:68:28: error: stray '#' in program
     for(int i=0;i<n;i++)
                            ^
0_0_20969189_24305.cpp:69:32: error: stray '#' in program
         for(int j=0;j<=m-ren;j++)
                                ^
0_0_20969189_24305.cpp:69:37: error: stray '#' in program
         for(int j=0;j<=m-ren;j++)
                                     ^
0_0_20969189_24305.cpp:89:18: error: stray '#' in program
         o[t].x=x+1; o[t].y=y+1;
                  ^
0_0_20969189_24305.cpp:89:34: error: stray '#' in program
         o[t].x=x+1; o[t].y=y+1;
                                  ^
0_0_20969189_24305.cpp:90:29: error: stray '#' in program
         for(int k=0;k<ren;k++)
                             ^
0_0_20969189_24305.cpp:90:34: error: stray '#' in program
         for(int k=0;k<ren;k++)
                                  ^
0_0_20969189_24305.cpp:91:21: error: stray '#' in program
             xh[x][y+k]=-1;
                     ^
0_0_20969189_24305.cpp:116:18: error: stray '#' in program
         o[t].x=x+1; o[t].y=y+1;
                  ^
0_0_20969189_24305.cpp:116:34: error: stray '#' in program
         o[t].x=x+1; o[t].y=y+1;
                                  ^
0_0_20969189_24305.cpp:126:40: error: stray '#' in program
     while(scanf("%d%d%d",&n,&m,&k)&&(n+m+k))
                                        ^
0_0_20969189_24305.cpp:126:46: error: stray '#' in program
     while(scanf("%d%d%d",&n,&m,&k)&&(n+m+k))
                                              ^
0_0_20969189_24305.cpp:133:28: error: stray '#' in program
             p[i].time=a*60+b;
                            ^
0_0_20969189_24305.cpp:136:18: error: stray '#' in program
         sort(p,p+k,cmp);
                  ^
0_0_20969189_24305.cpp: In function 'bool yes(int, int, int)':
0_0_20969189_24305.cpp:57:28: error: expected ')' before ';' token
     for(int k=0;k<ren;k++)
                            ^
0_0_20969189_24305.cpp:57:31: error: lvalue required as unary '&' operand
     for(int k=0;k<ren;k++)
                               ^
0_0_20969189_24305.cpp:57:34: error: expected primary-expression before ')' token
     for(int k=0;k<ren;k++)
                                  ^
0_0_20969189_24305.cpp:58:25: error: expected ';' before ']' token
         if(xh[i][j+k]==-1)
                         ^
0_0_20969189_24305.cpp: In function 'void xiaohao(int, int)':
0_0_20969189_24305.cpp:68:26: error: expected ')' before ';' token
     for(int i=0;i<n;i++)
                          ^
0_0_20969189_24305.cpp:68:29: error: lvalue required as unary '&' operand
     for(int i=0;i<n;i++)
                             ^
0_0_20969189_24305.cpp:68:32: error: expected primary-expression before ')' token
     for(int i=0;i<n;i++)
                                ^
0_0_20969189_24305.cpp:69:21: error: 'j' was not declared in this scope
         for(int j=0;j<=m-ren;j++)
                     ^
0_0_20969189_24305.cpp:69:38: error: lvalue required as unary '&' operand
         for(int j=0;j<=m-ren;j++)
                                      ^
0_0_20969189_24305.cpp:69:41: error: expected primary-expression before ')' token
         for(int j=0;j<=m-ren;j++)
                                         ^
0_0_20969189_24305.cpp:90:32: error: expected ')' before ';' token
         for(int k=0;k<ren;k++)
                                ^
0_0_20969189_24305.cpp:90:35: error: lvalue required as unary '&' operand
         for(int k=0;k<ren;k++)
                                   ^
0_0_20969189_24305.cpp:90:38: error: expected primary-expression before ')' token
         for(int k=0;k<ren;k++)
                                      ^
0_0_20969189_24305.cpp:91:26: error: expected ';' before ']' token
             xh[x][y+k]=-1;
                          ^
0_0_20969189_24305.cpp:95:10: error: 'i' was not declared in this scope
     forb(i,0,n)
          ^
0_0_20969189_24305.cpp:95:15: error: 'forb' was not declared in this scope
     forb(i,0,n)
               ^
0_0_20969189_24305.cpp: In function 'int main()':
0_0_20969189_24305.cpp:126:43: error: expected ')' before ';' token
     while(scanf("%d%d%d",&n,&m,&k)&&(n+m+k))
                                           ^
0_0_20969189_24305.cpp:126:43: error: expected ')' before ';' token
0_0_20969189_24305.cpp:126:51: error: expected ';' before ')' token
     while(scanf("%d%d%d",&n,&m,&k)&&(n+m+k))
                                                   ^
0_0_20969189_24305.cpp:150:1: error: expected '}' at end of input
 }
 ^


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:16:52, Gzip enabled