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_38750492_25536.cpp: In function 'void dfs(int, int)':
0_0_38750492_25536.cpp:123:21: error: request for member 'find' in 'cir_num', which is of non-class type 'int [100003]'
  123 |         if (cir_num.find(x)==cir_num.end()) solve_circle(x, x, ++d);
      |                     ^~~~
0_0_38750492_25536.cpp:123:38: error: request for member 'end' in 'cir_num', which is of non-class type 'int [100003]'
  123 |         if (cir_num.find(x)==cir_num.end()) solve_circle(x, x, ++d);
      |                                      ^~~
0_0_38750492_25536.cpp: In function 'int main()':
0_0_38750492_25536.cpp:177:17: error: request for member 'clear' in 'cir_num', which is of non-class type 'int [100003]'
  177 |         cir_num.clear();lian_num.clear();
      |                 ^~~~~
0_0_38750492_25536.cpp:177:34: error: request for member 'clear' in 'lian_num', which is of non-class type 'int [100003]'
  177 |         cir_num.clear();lian_num.clear();
      |                                  ^~~~~
0_0_38750492_25536.cpp:205:25: error: request for member 'find' in 'cir_num', which is of non-class type 'int [100003]'
  205 |             if (cir_num.find(x)!=cir_num.end())
      |                         ^~~~
0_0_38750492_25536.cpp:205:42: error: request for member 'end' in 'cir_num', which is of non-class type 'int [100003]'
  205 |             if (cir_num.find(x)!=cir_num.end())
      |                                          ^~~


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-11-30 05:52:07, Gzip enabled