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_30902336_7191.cpp: In function 'void solve()':
0_0_30902336_7191.cpp:87:11: error: no match for call to '(solve()::<lambda(std::vector<int>&)>) (std::vector<long long int>&)'
  shrink(XX),shrink(YY),shrink(ZZ);
           ^
0_0_30902336_7191.cpp:80:16: note: candidates are:
  auto shrink=[&](vector<int> & a) {
                ^
0_0_30902336_7191.cpp:87:11: note: void (*)(std::vector<int>&) <conversion>
  shrink(XX),shrink(YY),shrink(ZZ);
           ^
0_0_30902336_7191.cpp:87:11: note:   candidate expects 2 arguments, 2 provided
0_0_30902336_7191.cpp:80:33: note: solve()::<lambda(std::vector<int>&)>
  auto shrink=[&](vector<int> & a) {
                                 ^
0_0_30902336_7191.cpp:80:33: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'std::vector<int>&'
0_0_30902336_7191.cpp:87:22: error: no match for call to '(solve()::<lambda(std::vector<int>&)>) (std::vector<long long int>&)'
  shrink(XX),shrink(YY),shrink(ZZ);
                      ^
0_0_30902336_7191.cpp:80:16: note: candidates are:
  auto shrink=[&](vector<int> & a) {
                ^
0_0_30902336_7191.cpp:87:22: note: void (*)(std::vector<int>&) <conversion>
  shrink(XX),shrink(YY),shrink(ZZ);
                      ^
0_0_30902336_7191.cpp:87:22: note:   candidate expects 2 arguments, 2 provided
0_0_30902336_7191.cpp:80:33: note: solve()::<lambda(std::vector<int>&)>
  auto shrink=[&](vector<int> & a) {
                                 ^
0_0_30902336_7191.cpp:80:33: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'std::vector<int>&'
0_0_30902336_7191.cpp:87:33: error: no match for call to '(solve()::<lambda(std::vector<int>&)>) (std::vector<long long int>&)'
  shrink(XX),shrink(YY),shrink(ZZ);
                                 ^
0_0_30902336_7191.cpp:80:16: note: candidates are:
  auto shrink=[&](vector<int> & a) {
                ^
0_0_30902336_7191.cpp:87:33: note: void (*)(std::vector<int>&) <conversion>
  shrink(XX),shrink(YY),shrink(ZZ);
                                 ^
0_0_30902336_7191.cpp:87:33: note:   candidate expects 2 arguments, 2 provided
0_0_30902336_7191.cpp:80:33: note: solve()::<lambda(std::vector<int>&)>
  auto shrink=[&](vector<int> & a) {
                                 ^
0_0_30902336_7191.cpp:80:33: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'std::vector<int>&'
0_0_30902336_7191.cpp:89:22: error: no match for call to '(solve()::<lambda(const std::vector<int>&, int)>) (std::vector<long long int>&, LL&)'
   P[i].x=id(XX,P[i].x);
                      ^
0_0_30902336_7191.cpp:84:12: note: candidates are:
  auto id=[&](const vector<int> &a,int x) {
            ^
0_0_30902336_7191.cpp:89:22: note: __gnu_cxx::__normal_iterator<const int*, std::vector<int> >::difference_type (*)(const std::vector<int>&, int) {aka long long int (*)(const std::vector<int>&, int)} <conversion>
   P[i].x=id(XX,P[i].x);
                      ^
0_0_30902336_7191.cpp:89:22: note:   candidate expects 3 arguments, 3 provided
0_0_30902336_7191.cpp:84:40: note: solve()::<lambda(const std::vector<int>&, int)>
  auto id=[&](const vector<int> &a,int x) {
                                        ^
0_0_30902336_7191.cpp:84:40: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'const std::vector<int>&'
0_0_30902336_7191.cpp:90:22: error: no match for call to '(solve()::<lambda(const std::vector<int>&, int)>) (std::vector<long long int>&, LL&)'
   P[i].y=id(YY,P[i].y);
                      ^
0_0_30902336_7191.cpp:84:12: note: candidates are:
  auto id=[&](const vector<int> &a,int x) {
            ^
0_0_30902336_7191.cpp:90:22: note: __gnu_cxx::__normal_iterator<const int*, std::vector<int> >::difference_type (*)(const std::vector<int>&, int) {aka long long int (*)(const std::vector<int>&, int)} <conversion>
   P[i].y=id(YY,P[i].y);
                      ^
0_0_30902336_7191.cpp:90:22: note:   candidate expects 3 arguments, 3 provided
0_0_30902336_7191.cpp:84:40: note: solve()::<lambda(const std::vector<int>&, int)>
  auto id=[&](const vector<int> &a,int x) {
                                        ^
0_0_30902336_7191.cpp:84:40: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'const std::vector<int>&'
0_0_30902336_7191.cpp:91:22: error: no match for call to '(solve()::<lambda(const std::vector<int>&, int)>) (std::vector<long long int>&, LL&)'
   P[i].z=id(ZZ,P[i].z);
                      ^
0_0_30902336_7191.cpp:84:12: note: candidates are:
  auto id=[&](const vector<int> &a,int x) {
            ^
0_0_30902336_7191.cpp:91:22: note: __gnu_cxx::__normal_iterator<const int*, std::vector<int> >::difference_type (*)(const std::vector<int>&, int) {aka long long int (*)(const std::vector<int>&, int)} <conversion>
   P[i].z=id(ZZ,P[i].z);
                      ^
0_0_30902336_7191.cpp:91:22: note:   candidate expects 3 arguments, 3 provided
0_0_30902336_7191.cpp:84:40: note: solve()::<lambda(const std::vector<int>&, int)>
  auto id=[&](const vector<int> &a,int x) {
                                        ^
0_0_30902336_7191.cpp:84:40: note:   no known conversion for argument 1 from 'std::vector<long long int>' to 'const 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-26 02:45:42, Gzip enabled