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_17266113_29679.cpp:17:5: error: conflicting declaration 'int N'
 int N,M,C,P[M],vis[maxn+5];
     ^
0_0_17266113_29679.cpp:15:11: note: previous declaration as 'const int N'
 const int N = 5*1e8;
           ^
0_0_17266113_29679.cpp:17:7: error: conflicting declaration 'int M'
 int N,M,C,P[M],vis[maxn+5];
       ^
0_0_17266113_29679.cpp:16:11: note: previous declaration as 'const int M'
 const int M = 3*1e4;
           ^


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-02-17 05:59:55, Gzip enabled