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_28150726_5746.cpp: In function 'void dfs(int, int, int, int, int)':
0_0_28150726_5746.cpp:5:12: error: expected unqualified-id before 'long'
 #define ll long long 
            ^
0_0_28150726_5746.cpp:11:15: note: in expansion of macro 'll'
  int xx,rr,yy,ll,i;
               ^
0_0_28150726_5746.cpp:22:5: error: 'i' was not declared in this scope
  if(i==4){//四方相同的块直接跳过即可,并且这一行的结果要加上4 
     ^
0_0_28150726_5746.cpp:34:5: error: expected unqualified-id before '=' token
   ll=a[mp[r][num][(i+3)%4]];//下一格左侧
     ^
0_0_28150726_5746.cpp:5:12: error: expected primary-expression before 'long'
 #define ll long long 
            ^
0_0_28150726_5746.cpp:35:19: note: in expansion of macro 'll'
   if(right==-1 || ll==right)//如果是第一格或者左侧对上这一格的右侧,就可以往下搜了 
                   ^
0_0_28150726_5746.cpp:5:12: error: expected ')' before 'long'
 #define ll long long 
            ^
0_0_28150726_5746.cpp:35:19: note: in expansion of macro 'll'
   if(right==-1 || ll==right)//如果是第一格或者左侧对上这一格的右侧,就可以往下搜了 
                   ^


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-09-30 11:04:21, Gzip enabled