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_4772260_17862.cpp:14: error: invalid token
0_0_4772260_17862.cpp:14: error: ISO C++ forbids declaration of `include' with no type
0_0_4772260_17862.cpp:14: error: expected `;' before '<' token
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:59,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:64,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:65,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from 0_0_4772260_17862.cpp:17:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_raw_storage_iter.h:64: error: expected `;' before "namespace"
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_raw_storage_iter.h:64: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:64,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:65,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from 0_0_4772260_17862.cpp:17:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:62: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:65,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from 0_0_4772260_17862.cpp:17:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:66: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from 0_0_4772260_17862.cpp:17:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:70: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:67,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/functexcept.h:36: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:73,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_function.h:64: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/deque:66,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:74,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/functexcept.h:36: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/deque:71,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:74,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:68: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/deque:74,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:74,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/deque.tcc:64: error: expected unqualified-id before "namespace"
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/queue:76,
                 from 0_0_4772260_17862.cpp:18:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:67: error: expected unqualified-id before "namespace"
0_0_4772260_17862.cpp:19: error: expected nested-name-specifier before "namespace"
0_0_4772260_17862.cpp:19: error: expected unqualified-id before "namespace"
0_0_4772260_17862.cpp:19: error: expected `;' before "namespace"
0_0_4772260_17862.cpp:19: error: expected unqualified-id before "namespace"
0_0_4772260_17862.cpp:21: error: ISO C++ forbids initialization of member `MAXN'
0_0_4772260_17862.cpp:21: error: making `MAXN' static
0_0_4772260_17862.cpp:22: error: ISO C++ forbids initialization of member `INF'
0_0_4772260_17862.cpp:22: error: making `INF' static
0_0_4772260_17862.cpp:25: error: `struct Edge::Edge' has the same name as the class in which it is declared
0_0_4772260_17862.cpp: In member function `void Edge::Graph::init(int)':
0_0_4772260_17862.cpp:41: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:41: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:42: error: invalid use of nonstatic data member 'Edge::_E'
0_0_4772260_17862.cpp:42: error: invalid use of nonstatic data member 'Edge::_E'
0_0_4772260_17862.cpp:43: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:43: error: invalid use of nonstatic data member 'Edge::edge'
0_0_4772260_17862.cpp: In member function `void Edge::Graph::add(int, int, int)':
0_0_4772260_17862.cpp:47: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:48: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:49: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:49: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:50: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:50: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:52: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:53: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:54: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp:54: error: invalid use of nonstatic data member 'Edge::_E'
0_0_4772260_17862.cpp:55: error: invalid use of nonstatic data member 'Edge::_E'
0_0_4772260_17862.cpp:55: error: invalid use of nonstatic data member 'Edge::pE'
0_0_4772260_17862.cpp: In member function `void Edge::Graph::dfs1(int)':
0_0_4772260_17862.cpp:60: error: invalid use of nonstatic data member 'Edge::_E'
0_0_4772260_17862.cpp:60: error: 'struct Edge' has no member named 'next'
0_0_4772260_17862.cpp:62: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp:62: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp: In member function `void Edge::Graph::dfs2(int)':
0_0_4772260_17862.cpp:69: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:69: error: 'struct Edge' has no member named 'next'
0_0_4772260_17862.cpp:70: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp:70: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp: In member function `void Edge::Graph::build()':
0_0_4772260_17862.cpp:93: error: invalid use of nonstatic data member 'Edge::E'
0_0_4772260_17862.cpp:93: error: 'struct Edge' has no member named 'next'
0_0_4772260_17862.cpp:95: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp:96: error: 'struct Edge' has no member named 'w'
0_0_4772260_17862.cpp:96: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp:96: error: 'struct Edge' has no member named 'v'
0_0_4772260_17862.cpp:96: error: 'struct Edge' has no member named 'w'
0_0_4772260_17862.cpp: In member function `int Edge::Graph::cal1()':
0_0_4772260_17862.cpp:132: error: `queue' undeclared (first use this function)
0_0_4772260_17862.cpp:132: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_4772260_17862.cpp:132: error: expected primary-expression before "int"
0_0_4772260_17862.cpp:132: error: expected `;' before "int"
0_0_4772260_17862.cpp:133: error: `Q' undeclared (first use this function)
0_0_4772260_17862.cpp: At global scope:
0_0_4772260_17862.cpp:180: error: size of array `edge' is too large
0_0_4772260_17862.cpp: In function `int Directed_MST(int)':
0_0_4772260_17862.cpp:197: error: `edge' undeclared (first use this function)
0_0_4772260_17862.cpp: In function `void add(int, int, int)':
0_0_4772260_17862.cpp:245: error: `edge' undeclared (first use this function)


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-29 17:07:57, Gzip enabled