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_17666152_15772.cpp: In function 'long long int work(long long int, long long int)':
0_0_17666152_15772.cpp:42:66: error: no matching function for call to 'move(long long int, long long int&)'
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                  ^
0_0_17666152_15772.cpp:42:66: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17666152_15772.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:   template argument deduction/substitution failed:
0_0_17666152_15772.cpp:42:66: note:   candidate expects 1 argument, 2 provided
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17666152_15772.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:   template argument deduction/substitution failed:
0_0_17666152_15772.cpp:42:66: note:   candidate expects 3 arguments, 2 provided
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                  ^
0_0_17666152_15772.cpp:42:95: error: no matching function for call to 'move(long long int&, long long int)'
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                                               ^
0_0_17666152_15772.cpp:42:95: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17666152_15772.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note:   template argument deduction/substitution failed:
0_0_17666152_15772.cpp:42:95: note:   candidate expects 1 argument, 2 provided
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17666152_15772.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note:   template argument deduction/substitution failed:
0_0_17666152_15772.cpp:42:95: note:   candidate expects 3 arguments, 2 provided
             return move((((LL)(prime[i]-1)*work(move(n/prime[i],m))%mod+work(move(n,m/prime[i]) )%mod)%mod) );
                                                                                               ^


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 00:39:39, Gzip enabled