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_21592043_16248.cpp:1:30: error: stray '#' in program
 <pre name="code" class="cpp">#include<iostream>
                              ^
0_0_21592043_16248.cpp:34:26: error: stray '#' in program
         temp = str[i] - 'a';
                          ^
0_0_21592043_16248.cpp:34:32: error: stray '#' in program
         temp = str[i] - 'a';
                                ^
0_0_21592043_16248.cpp:86:21: error: stray '#' in program
         if(str[i]>='A'&&str[i]<='Z')
                     ^
0_0_21592043_16248.cpp:86:27: error: stray '#' in program
         if(str[i]>='A'&&str[i]<='Z')
                           ^
0_0_21592043_16248.cpp:86:42: error: stray '#' in program
         if(str[i]>='A'&&str[i]<='Z')
                                          ^
0_0_21592043_16248.cpp:86:48: error: stray '#' in program
         if(str[i]>='A'&&str[i]<='Z')
                                                ^
0_0_21592043_16248.cpp:87:27: error: stray '#' in program
             index=str[i]-'A';
                           ^
0_0_21592043_16248.cpp:87:33: error: stray '#' in program
             index=str[i]-'A';
                                 ^
0_0_21592043_16248.cpp:88:26: error: stray '#' in program
         else if(str[i]>='a'&&str[i]<='z')
                          ^
0_0_21592043_16248.cpp:88:32: error: stray '#' in program
         else if(str[i]>='a'&&str[i]<='z')
                                ^
0_0_21592043_16248.cpp:88:47: error: stray '#' in program
         else if(str[i]>='a'&&str[i]<='z')
                                               ^
0_0_21592043_16248.cpp:88:53: error: stray '#' in program
         else if(str[i]>='a'&&str[i]<='z')
                                                     ^
0_0_21592043_16248.cpp:89:31: error: stray '#' in program
             index = str[i] - 'a';
                               ^
0_0_21592043_16248.cpp:89:37: error: stray '#' in program
             index = str[i] - 'a';
                                     ^
0_0_21592043_16248.cpp:1:1: error: expected unqualified-id before '<' token
 <pre name="code" class="cpp">#include<iostream>
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
                 from 0_0_21592043_16248.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
   __is_null_pointer(std::nullptr_t)
                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:155:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
     __is_null_pointer(_Type)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:21: error: 'nullptr_t' is not a member of 'std'
   __is_null_pointer(std::nullptr_t)
                     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
                 from 0_0_21592043_16248.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:294:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
     struct __is_null_pointer_helper<std::nullptr_t>
                                     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42,
                 from 0_0_21592043_16248.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
                 from 0_0_21592043_16248.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42,
                 from 0_0_21592043_16248.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
                 from 0_0_21592043_16248.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:61: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42,
                 from 0_0_21592043_16248.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
                 from 0_0_21592043_16248.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42,
                 from 0_0_21592043_16248.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typ


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-28 00:53:30, Gzip enabled