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_14688048_9640.cpp: In function 'void dfs(int)':
0_0_14688048_9640.cpp:55:25: error: 'struct std::pair<int, int>' has no member named 'size'
     for (int i=0;i<G[x].size();i++)
                         ^
0_0_14688048_9640.cpp:57:24: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
         if (!Visit[G[x][i]])
                        ^
0_0_14688048_9640.cpp:59:21: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
             dfs(G[x][i]);
                     ^


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-16 10:42:28, Gzip enabled