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_39415554_5075.cpp:29:16: error: redefinition of 'int64_t C(int, int)'
   29 | inline int64_t C(int n, int m) { return fac[n] * inv[m] % mod * inv[n - m] % mod; }
      |                ^
0_0_39415554_5075.cpp:11:15: note: 'long long int C(int, int)' previously defined here
   11 | long long int C(int a,int b)
      |               ^
0_0_39415554_5075.cpp: In function 'int main()':
0_0_39415554_5075.cpp:39:25: error: 'MAXN' was not declared in this scope
   39 |     for (int i = 1; i < MAXN; i++)
      |                         ^~~~
0_0_39415554_5075.cpp:41:21: error: 'MAXN' was not declared in this scope
   41 |     inv[0] = 1, inv[MAXN - 1] = quickpow(fac[MAXN - 1]);
      |                     ^~~~


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.001000(s) query 1, Server time : 2025-01-11 08:43:42, Gzip enabled