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_23245744_11264.cpp:2:5: error: stray '#' in program
   3 #include<cmath>
     ^
0_0_23245744_11264.cpp:3:5: error: stray '#' in program
   4 #include<iostream>
     ^
0_0_23245744_11264.cpp:4:5: error: stray '#' in program
   5 #include<cstring>
     ^
0_0_23245744_11264.cpp:5:5: error: stray '#' in program
   6 #include<algorithm>
     ^
0_0_23245744_11264.cpp:6:5: error: stray '#' in program
   7 #include<cmath>
     ^
0_0_23245744_11264.cpp:7:5: error: stray '#' in program
   8 #include<map>
     ^
0_0_23245744_11264.cpp:2:3: error: expected unqualified-id before numeric constant
   3 #include<cmath>
   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:62,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23245744_11264.cpp:8:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In member function '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(__gnu_cxx::new_allocator<_Tp>::size_type, const void*)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:102:4: error: '__throw_bad_alloc' is not a member of 'std'
    std::__throw_bad_alloc();
    ^
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++/stack:60,
                 from 0_0_23245744_11264.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc: In member function 'void std::deque<_Tp, _Alloc>::_M_new_elements_at_front(std::deque<_Tp, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:832:61: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
  __throw_length_error(__N("deque::_M_new_elements_at_front"));
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:832:61: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc: In member function 'void std::deque<_Tp, _Alloc>::_M_new_elements_at_back(std::deque<_Tp, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:857:60: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
  __throw_length_error(__N("deque::_M_new_elements_at_back"));
                                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_23245744_11264.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h: In member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1425:33: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
    __throw_length_error(__N(__s));
                                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_23245744_11264.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::reserve(std::vector<bool, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:807:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
  __throw_length_error(__N("vector::reserve"));
                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1159:31: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
  __throw_length_error(__N(__s));
                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_23245744_11264.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:69:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
  __throw_length_error(__N("vector::reserve"));
                                             ^
0_0_23245744_11264.cpp: In function 'bool gank()':
0_0_23245744_11264.cpp:14:50: error: 'memset' was not declared in this scope
  #define mz(array) memset(array, 0, sizeof(array))
                                                  ^
0_0_23245744_11264.cpp:66:6: note: in expansion of macro 'mz'
      mz(h1);mz(hh1);
      ^
0_0_23245744_11264.cpp: In function 'int main()':
0_0_23245744_11264.cpp:112:23: error: 'strlen' was not declared in this scope
         len1=strlen(s1);
                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 21:44:18, Gzip enabled