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_20959564_5750.cpp:11:21: error: stray '#' in program
     for(v=1;v<=ny;v++)
                     ^
0_0_20959564_5750.cpp:11:26: error: stray '#' in program
     for(v=1;v<=ny;v++)
                          ^
0_0_20959564_5750.cpp:31:21: error: stray '#' in program
     for(i=1;i<=nx;i++)
                     ^
0_0_20959564_5750.cpp:31:26: error: stray '#' in program
     for(i=1;i<=nx;i++)
                          ^
0_0_20959564_5750.cpp:37:17: error: stray '#' in program
             ans+=path(i);
                 ^
0_0_20959564_5750.cpp:54:24: error: stray '#' in program
         for(i=1;i<=m;i++)
                        ^
0_0_20959564_5750.cpp:54:29: error: stray '#' in program
         for(i=1;i<=m;i++)
                             ^
0_0_20959564_5750.cpp:60:39: error: stray '#' in program
         printf("Case %d: %d\n",tot,nx+ny-ans);
                                       ^
0_0_20959564_5750.cpp:61:13: error: stray '#' in program
         tot++;
             ^
0_0_20959564_5750.cpp:61:18: error: stray '#' in program
         tot++;
                  ^
0_0_20959564_5750.cpp: In function 'int path(int)':
0_0_20959564_5750.cpp:11:24: error: expected ')' before ';' token
     for(v=1;v<=ny;v++)
                        ^
0_0_20959564_5750.cpp:11:27: error: lvalue required as unary '&' operand
     for(v=1;v<=ny;v++)
                           ^
0_0_20959564_5750.cpp:11:30: error: expected primary-expression before ')' token
     for(v=1;v<=ny;v++)
                              ^
0_0_20959564_5750.cpp: In function 'int solve()':
0_0_20959564_5750.cpp:31:24: error: expected ')' before ';' token
     for(i=1;i<=nx;i++)
                        ^
0_0_20959564_5750.cpp:31:27: error: lvalue required as unary '&' operand
     for(i=1;i<=nx;i++)
                           ^
0_0_20959564_5750.cpp:31:30: error: expected primary-expression before ')' token
     for(i=1;i<=nx;i++)
                              ^
0_0_20959564_5750.cpp: In function 'int main()':
0_0_20959564_5750.cpp:54:27: error: expected ')' before ';' token
         for(i=1;i<=m;i++)
                           ^
0_0_20959564_5750.cpp:54:30: error: lvalue required as unary '&' operand
         for(i=1;i<=m;i++)
                              ^
0_0_20959564_5750.cpp:54:33: error: expected primary-expression before ')' token
         for(i=1;i<=m;i++)
                                 ^
0_0_20959564_5750.cpp:60:42: error: expected ')' before ';' token
         printf("Case %d: %d\n",tot,nx+ny-ans);
                                          ^
0_0_20959564_5750.cpp:60:49: error: expected ';' before ')' token
         printf("Case %d: %d\n",tot,nx+ny-ans);
                                                 ^
0_0_20959564_5750.cpp:61:19: error: lvalue required as unary '&' operand
         tot++;
                   ^


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-12-02 03:53:32, Gzip enabled