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_17803869_26111.cpp: In function 'int main()':
0_0_17803869_26111.cpp:77:70: error: no matching function for call to 'transform(std::basic_string<char>::iterator, std::basic_string<char>::iterator, std::basic_string<char>::iterator, <unresolved overloaded function type>)'
    transform(as[i].tt.begin(),as[i].tt.end(),as[i].tt.begin(),tolower);
                                                                      ^
0_0_17803869_26111.cpp:77:70: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_17803869_26111.cpp:8:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4152:5: note: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
     transform(_InputIterator __first, _InputIterator __last,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4152:5: note:   template argument deduction/substitution failed:
0_0_17803869_26111.cpp:77:70: note:   couldn't deduce template parameter '_UnaryOperation'
    transform(as[i].tt.begin(),as[i].tt.end(),as[i].tt.begin(),tolower);
                                                                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_17803869_26111.cpp:8:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4189:5: note: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
     transform(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4189:5: note:   template argument deduction/substitution failed:
0_0_17803869_26111.cpp:77:70: note:   candidate expects 5 arguments, 4 provided
    transform(as[i].tt.begin(),as[i].tt.end(),as[i].tt.begin(),tolower);
                                                                      ^
0_0_17803869_26111.cpp:89:56: error: no matching function for call to 'transform(std::basic_string<char>::iterator, std::basic_string<char>::iterator, std::basic_string<char>::iterator, <unresolved overloaded function type>)'
     transform(str.begin(),str.end(),str.begin(),tolower);
                                                        ^
0_0_17803869_26111.cpp:89:56: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_17803869_26111.cpp:8:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4152:5: note: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
     transform(_InputIterator __first, _InputIterator __last,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4152:5: note:   template argument deduction/substitution failed:
0_0_17803869_26111.cpp:89:56: note:   couldn't deduce template parameter '_UnaryOperation'
     transform(str.begin(),str.end(),str.begin(),tolower);
                                                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_17803869_26111.cpp:8:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4189:5: note: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
     transform(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4189:5: note:   template argument deduction/substitution failed:
0_0_17803869_26111.cpp:89:56: note:   candidate expects 5 arguments, 4 provided
     transform(str.begin(),str.end(),str.begin(),tolower);
                                                        ^


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