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_38826466_244.cpp
0_0_38826466_244.cpp(104) : error C2664: “std::vector<int,std::allocator<_Ty>> KMP<int>::getNextVal(char *,int)”: 无法将参数 1 从“int *”转换为“char *”
        with
        [
            _Ty=int
        ]
        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
        0_0_38826466_244.cpp(103): 编译类 模板 成员函数“int KMP<int>::firstMatchId(T *,int,T *,int)”时
        with
        [
            T=int
        ]
        0_0_38826466_244.cpp(138): 参见对正在编译的函数 模板 实例化“int KMP<int>::firstMatchId(T *,int,T *,int)”的引用
        with
        [
            T=int
        ]
        0_0_38826466_244.cpp(138): 参见对正在编译的类 模板 实例化“KMP<int>”的引用


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 22:34:30, Gzip enabled