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_21631138_22359.cpp:56:1: error: stray '\345' in program
 字符编号从0开始,那么if(i%(i-next[i])==0),则i前面的
 ^
0_0_21631138_22359.cpp:56:1: error: stray '\255' in program
0_0_21631138_22359.cpp:56:1: error: stray '\227' in program
0_0_21631138_22359.cpp:56:1: error: stray '\347' in program
0_0_21631138_22359.cpp:56:1: error: stray '\254' in program
0_0_21631138_22359.cpp:56:1: error: stray '\246' in program
0_0_21631138_22359.cpp:56:1: error: stray '\347' in program
0_0_21631138_22359.cpp:56:1: error: stray '\274' in program
0_0_21631138_22359.cpp:56:1: error: stray '\226' in program
0_0_21631138_22359.cpp:56:1: error: stray '\345' in program
0_0_21631138_22359.cpp:56:1: error: stray '\217' in program
0_0_21631138_22359.cpp:56:1: error: stray '\267' in program
0_0_21631138_22359.cpp:56:1: error: stray '\344' in program
0_0_21631138_22359.cpp:56:1: error: stray '\273' in program
0_0_21631138_22359.cpp:56:1: error: stray '\216' in program
0_0_21631138_22359.cpp:56:1: error: stray '\345' in program
0_0_21631138_22359.cpp:56:1: error: stray '\274' in program
0_0_21631138_22359.cpp:56:1: error: stray '\200' in program
0_0_21631138_22359.cpp:56:1: error: stray '\345' in program
0_0_21631138_22359.cpp:56:1: error: stray '\247' in program
0_0_21631138_22359.cpp:56:1: error: stray '\213' in program
0_0_21631138_22359.cpp:56:1: error: stray '\357' in program
0_0_21631138_22359.cpp:56:1: error: stray '\274' in program
0_0_21631138_22359.cpp:56:1: error: stray '\214' in program
0_0_21631138_22359.cpp:56:1: error: stray '\351' in program
0_0_21631138_22359.cpp:56:1: error: stray '\202' in program
0_0_21631138_22359.cpp:56:1: error: stray '\243' in program
0_0_21631138_22359.cpp:56:1: error: stray '\344' in program
0_0_21631138_22359.cpp:56:1: error: stray '\271' in program
0_0_21631138_22359.cpp:56:1: error: stray '\210' in program
0_0_21631138_22359.cpp:56:1: error: stray '\357' in program
0_0_21631138_22359.cpp:56:1: error: stray '\274' in program
0_0_21631138_22359.cpp:56:1: error: stray '\214' in program
0_0_21631138_22359.cpp:56:1: error: stray '\345' in program
0_0_21631138_22359.cpp:56:1: error: stray '\210' in program
0_0_21631138_22359.cpp:56:1: error: stray '\231' in program
0_0_21631138_22359.cpp:56:1: error: stray '\345' in program
0_0_21631138_22359.cpp:56:1: error: stray '\211' in program
0_0_21631138_22359.cpp:56:1: error: stray '\215' in program
0_0_21631138_22359.cpp:56:1: error: stray '\351' in program
0_0_21631138_22359.cpp:56:1: error: stray '\235' in program
0_0_21631138_22359.cpp:56:1: error: stray '\242' in program
0_0_21631138_22359.cpp:56:1: error: stray '\347' in program
0_0_21631138_22359.cpp:56:1: error: stray '\232' in program
0_0_21631138_22359.cpp:56:1: error: stray '\204' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
 串为一个轮回串,其中轮回子串出现i/(i-next[i])次。
 ^
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\262' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\272' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\200' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\252' in program
0_0_21631138_22359.cpp:57:1: error: stray '\350' in program
0_0_21631138_22359.cpp:57:1: error: stray '\275' in program
0_0_21631138_22359.cpp:57:1: error: stray '\256' in program
0_0_21631138_22359.cpp:57:1: error: stray '\345' in program
0_0_21631138_22359.cpp:57:1: error: stray '\233' in program
0_0_21631138_22359.cpp:57:1: error: stray '\236' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\262' in program
0_0_21631138_22359.cpp:57:1: error: stray '\357' in program
0_0_21631138_22359.cpp:57:1: error: stray '\274' in program
0_0_21631138_22359.cpp:57:1: error: stray '\214' in program
0_0_21631138_22359.cpp:57:1: error: stray '\345' in program
0_0_21631138_22359.cpp:57:1: error: stray '\205' in program
0_0_21631138_22359.cpp:57:1: error: stray '\266' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\255' in program
0_0_21631138_22359.cpp:57:1: error: stray '\350' in program
0_0_21631138_22359.cpp:57:1: error: stray '\275' in program
0_0_21631138_22359.cpp:57:1: error: stray '\256' in program
0_0_21631138_22359.cpp:57:1: error: stray '\345' in program
0_0_21631138_22359.cpp:57:1: error: stray '\233' in program
0_0_21631138_22359.cpp:57:1: error: stray '\236' in program
0_0_21631138_22359.cpp:57:1: error: stray '\345' in program
0_0_21631138_22359.cpp:57:1: error: stray '\255' in program
0_0_21631138_22359.cpp:57:1: error: stray '\220' in program
0_0_21631138_22359.cpp:57:1: error: stray '\344' in program
0_0_21631138_22359.cpp:57:1: error: stray '\270' in program
0_0_21631138_22359.cpp:57:1: error: stray '\262' in program
0_0_21631138_22359.cpp:57:1: error: stray '\345' in program
0_0_21631138_22359.cpp:57:1: error: stray '\207' in program
0_0_21631138_22359.cpp:57:1: error: stray '\272' in program
0_0_21631138_22359.cpp:57:1: error: stray '\347' in program
0_0_21631138_22359.cpp:57:1: error: stray '\216' in program
0_0_21631138_22359.cpp:57:1: error: stray '\260' in program
0_0_21631138_22359.cpp:57:1: error: stray '\346' in program
0_0_21631138_22359.cpp:57:1: error: stray '\254' in program
0_0_21631138_22359.cpp:57:1: error: stray '\241' in program
0_0_21631138_22359.cpp:57:1: error: stray '\343' in program
0_0_21631138_22359.cpp:57:1: error: stray '\200' in program
0_0_21631138_22359.cpp:57:1: error: stray '\202' in program
0_0_21631138_22359.cpp: In function 'void get_next()':
0_0_21631138_22359.cpp:10:2: error: reference to 'next' is ambiguous
  next[0]=-1;
  ^
0_0_21631138_22359.cpp:4:5: note: candidates are: int next [1000005]
 int next[1000005];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66: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_21631138_22359.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_21631138_22359.cpp:17:4: error: reference to 'next' is ambiguous
    next[i]=j;
    ^
0_0_21631138_22359.cpp:4:5: note: candidates are: int next [1000005]
 int next[1000005];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66: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_21631138_22359.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_21631138_22359.cpp:20:5: error: reference to 'next' is ambiguous
   j=next[j];
     ^
0_0_21631138_22359.cpp:4:5: note: candidates are: int next [1000005]
 int next[1000005];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66: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_21631138_22359.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_21631138_22359.cpp: In function 'void kmp()'


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-23 10:08:12, Gzip enabled