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_39560256_24182.cpp: In function 'int main()':
0_0_39560256_24182.cpp:202:20: error: no match for call to '(main()::<lambda(std::vector<int>&, int)>) (int [100010], long long int&)'
  202 |             getnext(ldp1,k);
      |             ~~~~~~~^~~~~~~~
0_0_39560256_24182.cpp:185:22: note: candidate: 'main()::<lambda(std::vector<int>&, int)>'
  185 |         auto getnext=[&](vector<int> &dp,int k){
      |                      ^
0_0_39560256_24182.cpp:185:22: note:   no known conversion for argument 1 from 'int [100010]' to 'std::vector<int>&'
0_0_39560256_24182.cpp:203:20: error: no match for call to '(main()::<lambda(std::vector<int>&, int)>) (int [100010], long long int)'
  203 |             getnext(ldp2,-k);
      |             ~~~~~~~^~~~~~~~~
0_0_39560256_24182.cpp:185:22: note: candidate: 'main()::<lambda(std::vector<int>&, int)>'
  185 |         auto getnext=[&](vector<int> &dp,int k){
      |                      ^
0_0_39560256_24182.cpp:185:22: note:   no known conversion for argument 1 from 'int [100010]' to 'std::vector<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 09:33:08, Gzip enabled