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_29578812_5397.cpp: In member function 'void Tire::insert(std::string, void*)':
0_0_29578812_5397.cpp:49:65: 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>)'
   std::transform(host.begin(), host.end(), host.begin(), toupper);
                                                                 ^
0_0_29578812_5397.cpp:49:65: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_29578812_5397.cpp:3:
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_29578812_5397.cpp:49:65: note:   couldn't deduce template parameter '_UnaryOperation'
   std::transform(host.begin(), host.end(), host.begin(), toupper);
                                                                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_29578812_5397.cpp:3:
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_29578812_5397.cpp:49:65: note:   candidate expects 5 arguments, 4 provided
   std::transform(host.begin(), host.end(), host.begin(), toupper);
                                                                 ^
0_0_29578812_5397.cpp: In member function 'int Tire::search(std::string)':
0_0_29578812_5397.cpp:74:65: 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>)'
   std::transform(data.begin(), data.end(), data.begin(), toupper);
                                                                 ^
0_0_29578812_5397.cpp:74:65: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_29578812_5397.cpp:3:
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_29578812_5397.cpp:74:65: note:   couldn't deduce template parameter '_UnaryOperation'
   std::transform(data.begin(), data.end(), data.begin(), toupper);
                                                                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_29578812_5397.cpp:3:
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_29578812_5397.cpp:74:65: note:   candidate expects 5 arguments, 4 provided
   std::transform(data.begin(), data.end(), data.begin(), toupper);
                                                                 ^


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-14 12:27:31, Gzip enabled