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_24578546_29883.cpp: In function 'int main()':
0_0_24578546_29883.cpp:36:36: error: too many arguments to function 'll gcd(ll, ll)'
             ll ans=qpow(a,gcd(m,n,k))-1;
                                    ^
0_0_24578546_29883.cpp:8:4: note: declared here
 ll gcd(ll a,ll b)
    ^
0_0_24578546_29883.cpp:36:37: error: too few arguments to function 'll qpow(ll, ll, ll)'
             ll ans=qpow(a,gcd(m,n,k))-1;
                                     ^
0_0_24578546_29883.cpp:15:4: note: declared here
 ll qpow(ll a,ll b,ll c)//a的b次方对c取余
    ^


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 19:03:53, Gzip enabled