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_35442969_8604.cpp: In function 'll cal(const std::vector<long long int>&, const std::vector<long long int>&, int)':
0_0_35442969_8604.cpp:91:27: error: no match for call to '(cal(const std::vector<long long int>&, const std::vector<long long int>&, int)::<lambda(ll*, ll*, ll*)>) (std::vector<long long int>&, std::vector<long long int>&, std::vector<long long int>&)'
     for(;m;m>>=1,mul(g,g,g)){//ΏμΛΩΓέ
                           ^
0_0_35442969_8604.cpp:74:18: note: candidate is:
     auto mul = [&](ll *a,ll *b,ll *c){
                  ^
0_0_35442969_8604.cpp:74:37: note: cal(const std::vector<long long int>&, const std::vector<long long int>&, int)::<lambda(ll*, ll*, ll*)>
     auto mul = [&](ll *a,ll *b,ll *c){
                                     ^
0_0_35442969_8604.cpp:74:37: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'll* {aka long long int*}'
0_0_35442969_8604.cpp:92:26: error: no match for call to '(cal(const std::vector<long long int>&, const std::vector<long long int>&, int)::<lambda(ll*, ll*, ll*)>) (std::vector<long long int>&, std::vector<long long int>&, std::vector<long long int>&)'
         if(m&1) mul(f,g,f);
                          ^
0_0_35442969_8604.cpp:74:18: note: candidate is:
     auto mul = [&](ll *a,ll *b,ll *c){
                  ^
0_0_35442969_8604.cpp:74:37: note: cal(const std::vector<long long int>&, const std::vector<long long int>&, int)::<lambda(ll*, ll*, ll*)>
     auto mul = [&](ll *a,ll *b,ll *c){
                                     ^
0_0_35442969_8604.cpp:74:37: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'll* {aka long long 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-22 22:15:56, Gzip enabled