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_29031309_14589.cpp:6:1: error: stray '\243' in program
 ll fac[MAXN]£»
 ^
0_0_29031309_14589.cpp:6:1: error: stray '\273' in program
0_0_29031309_14589.cpp:8:1: error: expected initializer before 'void'
 void init(int p);
 ^
0_0_29031309_14589.cpp: In function 'int main()':
0_0_29031309_14589.cpp:21:11: error: 'init' was not declared in this scope
     init(p);
           ^
0_0_29031309_14589.cpp: In function 'void init(int)':
0_0_29031309_14589.cpp:29:3: error: 'fac' was not declared in this scope
   fac[1]=inv[1]=1;
   ^
0_0_29031309_14589.cpp:29:16: error: assignment of read-only location '*(inv + 1u)'
   fac[1]=inv[1]=1;
                ^
0_0_29031309_14589.cpp:29:16: error: cannot convert 'int' to 'll(ll, ll) {aka long long int(long long int, long long int)}' in assignment
0_0_29031309_14589.cpp: In function 'll comb(ll, ll, ll)':
0_0_29031309_14589.cpp:56:10: error: 'fac' was not declared in this scope
   ll ans=fac[n]*inv(m,p)%p*inv(n-m,p)%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-25 09:26:14, Gzip enabled