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_17683508_28470.cpp:8:25: error: conflicting declaration 'int M'
 int s[N],v[N],n,m,A,B,C,M,i;
                         ^
0_0_17683508_28470.cpp:6:11: note: previous declaration as 'const int M'
 const int M = 101010;
           ^
0_0_17683508_28470.cpp: In function 'int main()':
0_0_17683508_28470.cpp:98:17: error: assignment of read-only variable 'M'
  C = ~(1<<31),M = (1<<16)-1;
                 ^


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.000000(s) query 1, Server time : 2025-02-18 17:36:03, Gzip enabled