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_21165687_9909.cpp:33:1: error: expected primary-expression before 'using'
 using namespace std;
 ^
0_0_21165687_9909.cpp:38:11: error: redefinition of 'const int MX'
 const int MX = 2e4 + 10;
           ^
0_0_21165687_9909.cpp:10:11: note: 'const int MX' previously defined here
 const int MX = 
           ^
0_0_21165687_9909.cpp:41:9: error: size of array 'V' is not an integral constant-expression
 int V[MX], C[MX];
         ^
0_0_21165687_9909.cpp:41:16: error: size of array 'C' is not an integral constant-expression
 int V[MX], C[MX];
                ^
0_0_21165687_9909.cpp:42:10: error: size of array 'dp' is not an integral constant-expression
 int dp[MX];
          ^


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