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_21599507_18420.cpp:15:18: error: stray '#' in program
     if(a[i][j]=='0')
                  ^
0_0_21599507_18420.cpp:15:24: error: stray '#' in program
     if(a[i][j]=='0')
                        ^
0_0_21599507_18420.cpp:22:25: error: stray '#' in program
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                         ^
0_0_21599507_18420.cpp:22:31: error: stray '#' in program
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                               ^
0_0_21599507_18420.cpp:22:59: error: stray '#' in program
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                                                           ^
0_0_21599507_18420.cpp:22:65: error: stray '#' in program
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                                                                 ^
0_0_21599507_18420.cpp: In function 'long long int dfs(int, int)':
0_0_21599507_18420.cpp:15:19: error: lvalue required as unary '&' operand
     if(a[i][j]=='0')
                   ^
0_0_21599507_18420.cpp:15:21: error: expected ')' before ';' token
     if(a[i][j]=='0')
                     ^
0_0_21599507_18420.cpp:15:28: error: expected primary-expression before ')' token
     if(a[i][j]=='0')
                            ^
0_0_21599507_18420.cpp:22:26: error: lvalue required as unary '&' operand
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                          ^
0_0_21599507_18420.cpp:22:28: error: expected ')' before ';' token
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                            ^
0_0_21599507_18420.cpp:22:35: error: expected primary-expression before ')' token
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                                   ^
0_0_21599507_18420.cpp:22:69: error: expected primary-expression before ')' token
         int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
                                                                     ^
0_0_21599507_18420.cpp:23:23: error: 'Y' was not declared in this scope
         if(X>=0&&X<n&&Y>=0&&Y<n)
                       ^


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-11 00:11:13, Gzip enabled