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_26492097_17334.cpp: In function 'int main()':
0_0_26492097_17334.cpp:39:28: error: 'nodes' was not declared in this scope
             for (auto it = nodes.begin(); it != nodes.end(); it++) {
                            ^
0_0_26492097_17334.cpp:48:13: error: 'in' was not declared in this scope
             in[y]++;
             ^
0_0_26492097_17334.cpp:49:17: error: 'graph' was not declared in this scope
             if (graph.find(x) == graph.end()) {
                 ^
0_0_26492097_17334.cpp:52:17: error: 'graph' was not declared in this scope
             if (graph.find(y) == graph.end()) {
                 ^
0_0_26492097_17334.cpp:55:13: error: 'graph' was not declared in this scope
             graph[x].push_back(y);
             ^
0_0_26492097_17334.cpp:57:13: error: 'nodes' was not declared in this scope
             nodes.insert(x);
             ^


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-25 22:14:49, Gzip enabled