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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp: In function 'void Init()':
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:24:11: note: in expansion of macro 'ONE'
   st[i]|=(ONE<<i);
           ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:24:11: note: in expansion of macro 'ONE'
   st[i]|=(ONE<<i);
           ^
0_0_30822107_19428.cpp:24:18: error: expected ')' before ';' token
   st[i]|=(ONE<<i);
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:25:11: note: in expansion of macro 'ONE'
   st[i]|=(ONE<<(i^1)); 
           ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:25:11: note: in expansion of macro 'ONE'
   st[i]|=(ONE<<(i^1)); 
           ^
0_0_30822107_19428.cpp:25:22: error: expected ')' before ';' token
   st[i]|=(ONE<<(i^1)); 
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:30:20: note: in expansion of macro 'ONE'
   if(M==1) state|=(ONE<<rr(i));//表示已经处理
                    ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:30:20: note: in expansion of macro 'ONE'
   if(M==1) state|=(ONE<<rr(i));//表示已经处理
                    ^
0_0_30822107_19428.cpp:30:31: error: expected ')' before ';' token
   if(M==1) state|=(ONE<<rr(i));//表示已经处理
                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:40:14: note: in expansion of macro 'ONE'
      st[u]|=(ONE<<v);
              ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:40:14: note: in expansion of macro 'ONE'
      st[u]|=(ONE<<v);
              ^
0_0_30822107_19428.cpp:40:21: error: expected ')' before ';' token
      st[u]|=(ONE<<v);
                     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp: In function 'bool dfs(long long int, int, int)':
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:8:25: note: in expansion of macro 'ONE'
 #define GOAL (__int64)((ONE<<(2*N))-1)//目标状态
                         ^
0_0_30822107_19428.cpp:54:17: note: in expansion of macro 'GOAL'
   return state==GOAL;
                 ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:8:25: note: in expansion of macro 'ONE'
 #define GOAL (__int64)((ONE<<(2*N))-1)//目标状态
                         ^
0_0_30822107_19428.cpp:54:17: note: in expansion of macro 'GOAL'
   return state==GOAL;
                 ^
0_0_30822107_19428.cpp:54:21: error: expected ')' before ';' token
   return state==GOAL;
                     ^
0_0_30822107_19428.cpp:54:21: error: expected ')' before ';' token
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_30822107_19428.cpp:1:
0_0_30822107_19428.cpp:7:14: error: expected primary-expression before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:8:25: note: in expansion of macro 'ONE'
 #define GOAL (__int64)((ONE<<(2*N))-1)//目标状态
                         ^
0_0_30822107_19428.cpp:57:27: note: in expansion of macro 'GOAL'
   if((state|rest[ll(i)])!=GOAL) break;//剪枝
                           ^
0_0_30822107_19428.cpp:7:14: error: expected ')' before 'long'
 #define ONE (__int64(1))
              ^
0_0_30822107_19428.cpp:8:25: note: in expansion of macro 'ONE'
 #define GOAL (__int64)((ONE<<(2*N))-1)//目标状态
                         ^
0_0_30822107_19428.cpp:57:27: note: in expansion of macro 'GOAL'
   if((state|rest[ll(i)])!=GOAL) break;//剪枝
                           ^
0_0_30822107_19428.cpp:57:38: error: expected ')' before ';' token
   if((state|rest[ll(i)])!=GOAL) break;//剪枝
                                      ^
0_0_30822107_19428.cpp:57:38: error: expected ')' before ';' token
0_0_30822107_19428.cpp:57:38: error: expected ')' before ';' token
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.


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-10 12:06:37, Gzip enabled