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_27161508_16866.cpp: In constructor 'Trie::Trie()':
0_0_27161508_16866.cpp:9:29: error: 'memset' was not declared in this scope
   memset(nex, 0, sizeof(nex));
                             ^
0_0_27161508_16866.cpp: In function 'int main()':
0_0_27161508_16866.cpp:56:17: error: no match for 'operator==' (operand types are 'std::string {aka std::basic_string<char>}' and 'long long int')
            if(s == NULL)
                 ^
0_0_27161508_16866.cpp:56:17: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40: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_27161508_16866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
     operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_27161508_16866.cpp:1:
0_0_27161508_16866.cpp:56:20: note:   'std::string {aka std::basic_string<char>}' is not derived from 'const std::fpos<_StateT>'
            if(s == NULL)
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64: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++/ios:40,
                 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_27161508_16866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_27161508_16866.cpp:1:
0_0_27161508_16866.cpp:56:20: note:   'std::string {aka std::basic_string<char>}' is not derived from 'const std::pair<_T1, _T2>'
            if(s == NULL)
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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++/ios:40,
                 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_27161508_16866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator==(const reverse_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_27161508_16866.cpp:1:
0_0_27161508_16866.cpp:56:20: note:   'std::string {aka std::basic_string<char>}' is not derived from 'const std::reverse_iterator<_Iterator>'
            if(s == NULL)
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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++/ios:40,
                 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_27161508_16866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator==(const reverse_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_27161508_16866.cpp:1:
0_0_27161508_16866.cpp:56:20: note:   'std::string {aka std::basic_string<char>}' is not derived from 'const std::reverse_iterator<_Iterator>'
            if(s == NULL)
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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++/ios:40,
                 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_27161508_16866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator==(const move_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_27161508_16866.cpp:1:
0_0_27161508_16866.cpp:56:20: note:   'std::string {aka std::basic_string<char>}' is not derived from 'const std::move_iterator<_Iterator>'
            if(s == NULL)
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 


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-25 22:50:10, Gzip enabled