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

In file included from 0_0_36181415_1323.cpp:18:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring: In function 'void Dijkstra(int)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:71:1: error: 'namespace' definition is not allowed here
 namespace std _GLIBCXX_VISIBILITY(default)
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_36181415_1323.cpp:19:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:66:1: error: 'namespace' definition is not allowed here
 namespace std _GLIBCXX_VISIBILITY(default)
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_36181415_1323.cpp:19:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:59:1: error: 'namespace' definition is not allowed here
 namespace std _GLIBCXX_VISIBILITY(default)
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64,
                 from 0_0_36181415_1323.cpp:19:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/uses_allocator.h:34:1: error: 'namespace' definition is not allowed here
 namespace std _GLIBCXX_VISIBILITY(default)
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36181415_1323.cpp:19:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:65:1: error: 'namespace' definition is not allowed here
 namespace std _GLIBCXX_VISIBILITY(default)
 ^
0_0_36181415_1323.cpp:26:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_36181415_1323.cpp:135:1: error: expected '}' at end of input
 }
 ^


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-22 23:34:35, Gzip enabled