0_0_24955163_32097.cpp: In function 'long long int so(const std::vector<long long int>&, const int&)':
0_0_24955163_32097.cpp:39:31: error: no matching function for call to 'quickmul(long long int&, const int&)'
long long inc=quickmul(sum,n);
^
0_0_24955163_32097.cpp:39:31: note: candidate is:
0_0_24955163_32097.cpp:19:10: note: template<class T> T quickmul(const T&, T)
inline T quickmul(const T &a,T p){
^
0_0_24955163_32097.cpp:19:10: note: template argument deduction/substitution failed:
0_0_24955163_32097.cpp:39:31: note: deduced conflicting types for parameter 'T' ('long long int' and 'int')
long long inc=quickmul(sum,n);
^
|