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_17498531_12404.cpp:30:8: error: expected unqualified-id before ',' token
 int and, or ;
        ^
0_0_17498531_12404.cpp:30:10: error: expected unqualified-id before 'or' token
 int and, or ;
          ^
0_0_17498531_12404.cpp: In function 'int dp(int, bool, bool)':
0_0_17498531_12404.cpp:39:10: error: expected identifier before '>>' token
  if (and >> p & 1)//必须都填1,tp关系保持不变
          ^
0_0_17498531_12404.cpp:44:7: error: expected primary-expression before 'or' token
  if (~or >> p & 1)//必须都填0,tp关系大体保持不变
       ^
0_0_17498531_12404.cpp:44:10: error: expected primary-expression before '>>' token
  if (~or >> p & 1)//必须都填0,tp关系大体保持不变
          ^
0_0_17498531_12404.cpp: In function 'int main()':
0_0_17498531_12404.cpp:67:8: error: expected primary-expression before 'or' token
   for (or = 1; or < top; ++or)//枚举i|j
        ^
0_0_17498531_12404.cpp:67:11: error: expected primary-expression before '=' token
   for (or = 1; or < top; ++or)//枚举i|j
           ^
0_0_17498531_12404.cpp:67:16: error: expected primary-expression before 'or' token
   for (or = 1; or < top; ++or)//枚举i|j
                ^
0_0_17498531_12404.cpp:67:19: error: expected primary-expression before '<' token
   for (or = 1; or < top; ++or)//枚举i|j
                   ^
0_0_17498531_12404.cpp:67:28: error: expected primary-expression before 'or' token
   for (or = 1; or < top; ++or)//枚举i|j
                            ^
0_0_17498531_12404.cpp:67:30: error: expected primary-expression before ')' token
   for (or = 1; or < top; ++or)//枚举i|j
                              ^
0_0_17498531_12404.cpp:69:13: error: expected identifier before '=' token
    for (and = or;; and = and - 1 & or)//枚举i&j
             ^
0_0_17498531_12404.cpp:69:15: error: expected primary-expression before 'or' token
    for (and = or;; and = and - 1 & or)//枚举i&j
               ^
0_0_17498531_12404.cpp:69:17: error: expected primary-expression before ';' token
    for (and = or;; and = and - 1 & or)//枚举i&j
                 ^
0_0_17498531_12404.cpp:69:24: error: expected identifier before '=' token
    for (and = or;; and = and - 1 & or)//枚举i&j
                        ^
0_0_17498531_12404.cpp:69:30: error: expected identifier before '-' token
    for (and = or;; and = and - 1 & or)//枚举i&j
                              ^
0_0_17498531_12404.cpp:69:36: error: expected primary-expression before 'or' token
    for (and = or;; and = and - 1 & or)//枚举i&j
                                    ^
0_0_17498531_12404.cpp:69:38: error: expected primary-expression before ')' token
    for (and = or;; and = and - 1 & or)//枚举i&j
                                      ^
0_0_17498531_12404.cpp:73:13: error: expected identifier before '==' token
     if (and == 0)tmp -= (n >= or ) + (m >= or );
             ^
0_0_17498531_12404.cpp:73:31: error: expected primary-expression before 'or' token
     if (and == 0)tmp -= (n >= or ) + (m >= or );
                               ^
0_0_17498531_12404.cpp:73:34: error: expected primary-expression before ')' token
     if (and == 0)tmp -= (n >= or ) + (m >= or );
                                  ^
0_0_17498531_12404.cpp:73:44: error: expected primary-expression before 'or' token
     if (and == 0)tmp -= (n >= or ) + (m >= or );
                                            ^
0_0_17498531_12404.cpp:73:47: error: expected primary-expression before ')' token
     if (and == 0)tmp -= (n >= or ) + (m >= or );
                                               ^
0_0_17498531_12404.cpp:74:26: error: expected primary-expression before 'or' token
     ans += (LL)tmp * gcd(or , and);;
                          ^
0_0_17498531_12404.cpp:74:29: error: expected primary-expression before ',' token
     ans += (LL)tmp * gcd(or , and);;
                             ^
0_0_17498531_12404.cpp:74:34: error: expected identifier before ')' token
     ans += (LL)tmp * gcd(or , and);;
                                  ^
0_0_17498531_12404.cpp:75:13: error: expected identifier before ')' token
     if (!and)break;
             ^


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 02:53:35, Gzip enabled