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_36173574_2122.cpp:10:13: error: conflicting declaration 'std::map<int, int> vis'
 map<int,int>vis;
             ^
0_0_36173574_2122.cpp:9:22: note: previous declaration as 'int vis [1001]'
 int T,n,ans,sg[1001],vis[1001];
                      ^
0_0_36173574_2122.cpp: In function 'int main()':
0_0_36173574_2122.cpp:21:7: error: request for member 'clear' in 'vis', which is of non-class type 'int [1001]'
   vis.clear();
       ^


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-06-18 19:47:41, Gzip enabled