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 GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:38:0,
                 from 0_0_15705566_3780.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++config.h: In function 'int main()':
GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++config.h:186:1: error: 'namespace' definition is not allowed here
 namespace std
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:40:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15705566_3780.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/memoryfwd.h:50: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++/iosfwd:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15705566_3780.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:42: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/_mingw.h:13:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15705566_3780.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw_secapi.h:47:8: error: expected unqualified-id before string constant
 extern "C++" {
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15705566_3780.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:12:32: error: expected '}' before end of line
 #pragma pack(push,_CRT_PACKING)
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h: At global scope:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:12:32: error: expected declaration before end of line


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-12-02 04:08:09, Gzip enabled