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_17380992_28600.cpp: In function 'int main()':
0_0_17380992_28600.cpp:26:7: error: expected unqualified-id before 'xor' token
   int xor = 0;
       ^
0_0_17380992_28600.cpp:28:4: error: expected primary-expression before 'xor' token
    xor ^= A[i];
    ^
0_0_17380992_28600.cpp:28:8: error: expected primary-expression before '^=' token
    xor ^= A[i];
        ^
0_0_17380992_28600.cpp:29:15: error: expected primary-expression before 'xor' token
    dp[i][1] = xor;
               ^
0_0_17380992_28600.cpp:29:18: error: expected primary-expression before ';' token
    dp[i][1] = xor;
                  ^
0_0_17380992_28600.cpp:34:9: error: expected unqualified-id before 'xor' token
     int xor = A[i];
         ^
0_0_17380992_28600.cpp:36:49: error: expected primary-expression before 'xor' token
      dp[i][m] = max( dp[i][m], min( dp[j][m-1], xor) );
                                                 ^
0_0_17380992_28600.cpp:36:52: error: expected primary-expression before ')' token
      dp[i][m] = max( dp[i][m], min( dp[j][m-1], xor) );
                                                    ^
0_0_17380992_28600.cpp:37:6: error: expected primary-expression before 'xor' token
      xor ^= A[j];
      ^
0_0_17380992_28600.cpp:37:10: error: expected primary-expression before '^=' token
      xor ^= A[j];
          ^


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-04 19:12:29, Gzip enabled