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_26011839_27725.cpp:13:8: error: 'maxn' was not declared in this scope
 ll inv[maxn],F[maxn],Finv[maxn];
        ^
0_0_26011839_27725.cpp:13:16: error: 'maxn' was not declared in this scope
 ll inv[maxn],F[maxn],Finv[maxn];
                ^
0_0_26011839_27725.cpp:13:27: error: 'maxn' was not declared in this scope
 ll inv[maxn],F[maxn],Finv[maxn];
                           ^
0_0_26011839_27725.cpp: In function 'void init()':
0_0_26011839_27725.cpp:15:5: error: 'inv' was not declared in this scope
     inv[1]=1;
     ^
0_0_26011839_27725.cpp:16:20: error: 'maxn' was not declared in this scope
     for(int i=2;i<=maxn;i++){
                    ^
0_0_26011839_27725.cpp:19:5: error: 'F' was not declared in this scope
     F[0]=1;
     ^
0_0_26011839_27725.cpp:20:5: error: 'Finv' was not declared in this scope
     Finv[0]=1;
     ^
0_0_26011839_27725.cpp:21:20: error: 'maxn' was not declared in this scope
     for(int i=1;i<=maxn;i++){
                    ^
0_0_26011839_27725.cpp: In function 'long long int C(long long int, long long int)':
0_0_26011839_27725.cpp:28:12: error: 'F' was not declared in this scope
     return F[n]*Finv[m]%mod*Finv[n-m]%mod;
            ^
0_0_26011839_27725.cpp:28:17: error: 'Finv' was not declared in this scope
     return F[n]*Finv[m]%mod*Finv[n-m]%mod;
                 ^


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-07-03 18:22:12, Gzip enabled