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_37823239_14471.cpp: In instantiation of 'll PN<PF, F>::S(ll, int) [with PF = fun; PF& F = (* & F); ll = long long int]':
0_0_37823239_14471.cpp:42:31:   required from 'll PN<PF, F>::S(ll) [with PF = fun; PF& F = (* & F); ll = long long int]'
0_0_37823239_14471.cpp:53:57:   required from here
0_0_37823239_14471.cpp:39:68: error: too few arguments to function 'll mul(ll, ll)'
                 q *= p, inc(res, mul(F.h(p, k, q) * S(x / q, i + 1)));
                                                                    ^
0_0_37823239_14471.cpp:8:29: note: in definition of macro 'inc'
 #define inc(a, b) (((a) += (b)) >= P ? (a) -= P : 0)
                             ^
0_0_37823239_14471.cpp:9:4: note: declared here
 ll mul(ll a, ll b) {
    ^


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