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_39977125_7148.cpp: In function 'int Main()':
0_0_39977125_7148.cpp:20:19: error: too few arguments to function 'll ksm(ll, ll)'
   20 |         ll ans=ksm(((a-1ll)/2ll,a-2ll)+p)%p;
      |                ~~~^~~~~~~~~~~~~~~~~~~~~~~
0_0_39977125_7148.cpp:5:4: note: declared here
    5 | ll ksm(ll a,ll b){
      |    ^~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-04-12 16:28:23, Gzip enabled