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_30926729_8354.cpp: In function 'void manacher()':
0_0_30926729_8354.cpp:31:20: error: expected ')' before '[' token
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                    ^
0_0_30926729_8354.cpp:31:22: error: expected ',' before '-' token
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                      ^
0_0_30926729_8354.cpp:31:22: error: expected identifier before '-' token
0_0_30926729_8354.cpp: In lambda function:
0_0_30926729_8354.cpp:31:28: error: expected '{' before '==' token
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                            ^
0_0_30926729_8354.cpp: In function 'void manacher()':
0_0_30926729_8354.cpp:31:28: error: no match for 'operator==' (operand types are 'manacher()::<lambda()>' and 'char')
0_0_30926729_8354.cpp:31:28: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_30926729_8354.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
     operator==(const std::normal_distribution<_RealType>& __d1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::normal_distribution<_RealType>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
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++/bits/random.h:34,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_30926729_8354.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
     operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::vector<_Tp, _Alloc>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
                 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_30926729_8354.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
     operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52: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_30926729_8354.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52: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_30926729_8354.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator==(const _CharT* __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   mismatched types 'const _CharT*' and 'manacher()::<lambda()>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52: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_30926729_8354.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
     operator==(const basic_string<_CharT>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::basic_string<_CharT>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52: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_30926729_8354.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2505:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2505:5: note:   template argument deduction/substitution failed:
0_0_30926729_8354.cpp:31:40: note:   'manacher()::<lambda()>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
         while(&&str[i-p[i]]==str[i+p[i]]) p[i]++;
                                        ^
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_30926729_8354.cpp:1:
D:/HDO


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-16 20:24:16, Gzip enabled