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_39801198_10259.cpp: In function 'void solve()':
0_0_39801198_10259.cpp:263:21: error: too few arguments to function 'll ksmp(ll, ll, ll)'
  263 |         cout << ksmp(2, n - 1) << endl;
      |                 ~~~~^~~~~~~~~~
0_0_39801198_10259.cpp:171:4: note: declared here
  171 | ll ksmp(ll a, ll b, ll p)
      |    ^~~~
0_0_39801198_10259.cpp:267:21: error: too few arguments to function 'll ksmp(ll, ll, ll)'
  267 |         cout << ksmp(2, n) << endl;
      |                 ~~~~^~~~~~
0_0_39801198_10259.cpp:171:4: note: declared here
  171 | ll ksmp(ll a, ll b, ll p)
      |    ^~~~


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 11:44:44, Gzip enabled