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_20399090_12557.cpp:3:1: error: expected unqualified-id before '<' token
 <pre name="code" class="html">//题意是中文的 大家都看得懂
 ^
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_20399090_12557.cpp:12:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:56:30: error: 'allocator' does not name a type
            typename _Alloc = allocator<_CharT> >
                              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:56:39: error: expected '>' before '<' token
            typename _Alloc = allocator<_CharT> >
                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:28: error: template argument 3 is invalid
   typedef basic_string<char>    string;   
                            ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:39: error: invalid type in declaration before ';' token
   typedef basic_string<char>    string;   
                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:68:31: error: template argument 3 is invalid
   typedef basic_string<wchar_t> wstring;   
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:68:40: error: invalid type in declaration before ';' token
   typedef basic_string<wchar_t> wstring;   
                                        ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:78:32: error: template argument 3 is invalid
   typedef basic_string<char16_t> u16string; 
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:78:43: error: invalid type in declaration before ';' token
   typedef basic_string<char16_t> u16string; 
                                           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:81:32: error: template argument 3 is invalid
   typedef basic_string<char32_t> u32string; 
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:81:43: error: invalid type in declaration before ';' token
   typedef basic_string<char32_t> u32string; 
                                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38:0,
                 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_20399090_12557.cpp:12:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:92:24: error: 'allocator' does not name a type
      typename _Alloc = allocator<_CharT> >
                        ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:92:33: error: expected '>' before '<' token
      typename _Alloc = allocator<_CharT> >
                                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:96:23: error: 'allocator' does not name a type
     typename _Alloc = allocator<_CharT> >
                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:96:32: error: expected '>' before '<' token
     typename _Alloc = allocator<_CharT> >
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:100:23: error: 'allocator' does not name a type
     typename _Alloc = allocator<_CharT> >
                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:100:32: error: expected '>' before '<' token
     typename _Alloc = allocator<_CharT> >
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:104:23: error: 'allocator' does not name a type
     typename _Alloc = allocator<_CharT> >
                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:104:32: error: expected '>' before '<' token
     typename _Alloc = allocator<_CharT> >
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:142:31: error: template argument 3 is invalid
   typedef basic_stringbuf<char>  stringbuf;
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:142:43: error: invalid type in declaration before ';' token
   typedef basic_stringbuf<char>  stringbuf;
                                           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:145:35: error: template argument 3 is invalid
   typedef basic_istringstream<char>  istringstream;
                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:145:51: error: invalid type in declaration before ';' token
   typedef basic_istringstream<char>  istringstream;
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:148:35: error: template argument 3 is invalid
   typedef basic_ostringstream<char>  ostringstream;
                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:148:51: error: invalid type in declaration before ';' token
   typedef basic_ostringstream<char>  ostringstream;
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:151:34: error: template argument 3 is invalid
   typedef basic_stringstream<char>  stringstream;
                                  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:151:49: error: invalid type in declaration before ';' token
   typedef basic_stringstream<char>  stringstream;
                                                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:182:34: error: template argument 3 is invalid
   typedef basic_stringbuf<wchar_t>  wstringbuf;
                                  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:182:47: error: invalid type in declaration before ';' token
   typedef basic_stringbuf<wchar_t>  wstringbuf;
                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:185:38: error: template argument 3 is invalid
   typedef basic_istringstream<wchar_t>  wistringstream;
                                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:185:55: error: invalid type in declaration before ';' token
   typedef basic_istringstream<wchar_t>  wistringstream;
                                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:188:38: error: template argument 3 is invalid
   typedef basic_ostringstream<wchar_t>  wostringstream;
                                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:188:55: error: invalid type in declaration before ';' token
   typedef basic_ostringstream<wchar_t>  wostringstream;
                                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:191:37: error: template argument 3 is invalid
   typedef basic_stringstream<wchar_t>  wstringstream;
                                     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:191:53: error: invalid type in declaration before ';' token
   typedef basic_stringstream<wchar_t>  wstringstream;
                                                     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 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_20399090_12557.cpp:12:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:63:11: error: 'allocator' is not a class template
     class allocator<void>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:64:5: error: explicit specialization of non-template 'std::allocator'
     {
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:74:19: error: 'std::allocator' is not a template
         { typedef allocator<_Tp1> other; };
                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:92:11: error: 'std::allocator' is not a template type
     class allocator: public __allocator_base<_Tp>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:128:22: error: 'std::allocator' is not a template
     operator==(const allocator<_T1>&, const allocator<_T2>&)
                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:128:45: error: 'std::allocator' is not a template
     operator==(const allocator<_T1>&, const allocator<_T2>&)
                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:133:22: error: 'std::allocator' is not a template
     operator==(const allocator<_Tp>&, const allocator<_Tp>&)
                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:133:45: error: 'std::allocator' is not a template
     operator==(const allocator<_Tp>&, const allocator<_Tp>&)
                                             


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-09-29 01:19:26, Gzip enabled