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_25912849_23860.cpp:5:7: error: 'll' does not name a type
 const ll mod=998244353;
       ^
0_0_25912849_23860.cpp:6:7: error: 'll' does not name a type
 const ll maxn=1e6+5;
       ^
0_0_25912849_23860.cpp:8:8: error: 'maxn' was not declared in this scope
 ll A[5*maxn],FA[5*maxn];
        ^
0_0_25912849_23860.cpp:8:19: error: 'maxn' was not declared in this scope
 ll A[5*maxn],FA[5*maxn];
                   ^
0_0_25912849_23860.cpp: In function 'll qpow(ll, ll)':
0_0_25912849_23860.cpp:15:23: error: 'mod' was not declared in this scope
             ans=ans*a%mod;
                       ^
0_0_25912849_23860.cpp:16:15: error: 'mod' was not declared in this scope
         a=a*a%mod;
               ^
0_0_25912849_23860.cpp: In function 'void init()':
0_0_25912849_23860.cpp:24:5: error: 'A' was not declared in this scope
     A[0]=1;
     ^
0_0_25912849_23860.cpp:25:5: error: 'FA' was not declared in this scope
     FA[0]=1;
     ^
0_0_25912849_23860.cpp:26:19: error: 'maxn' was not declared in this scope
     for(i=1; i<=3*maxn; i++)
                   ^
0_0_25912849_23860.cpp:27:23: error: 'mod' was not declared in this scope
         A[i]=A[i-1]*i%mod;
                       ^
0_0_25912849_23860.cpp:28:14: error: 'maxn' was not declared in this scope
         FA[2*maxn]=qpow(A[2*maxn],mod-2);
              ^
0_0_25912849_23860.cpp:28:35: error: 'mod' was not declared in this scope
         FA[2*maxn]=qpow(A[2*maxn],mod-2);
                                   ^
0_0_25912849_23860.cpp: In function 'll cp(ll, ll)':
0_0_25912849_23860.cpp:34:12: error: 'A' was not declared in this scope
     return A[n]*FA[n-m]%mod*FA[m]%mod;
            ^
0_0_25912849_23860.cpp:34:17: error: 'FA' was not declared in this scope
     return A[n]*FA[n-m]%mod*FA[m]%mod;
                 ^
0_0_25912849_23860.cpp:34:25: error: 'mod' was not declared in this scope
     return A[n]*FA[n-m]%mod*FA[m]%mod;
                         ^
0_0_25912849_23860.cpp: In function 'int main()':
0_0_25912849_23860.cpp:49:45: error: 'mod' was not declared in this scope
             ans-=(cp(m,i)*cp(k-i*n+m-1,m-1)%mod);
                                             ^
0_0_25912849_23860.cpp:51:45: error: 'mod' was not declared in this scope
             ans+=(cp(m,i)*cp(k-i*n+m-1,m-1)%mod);
                                             ^
0_0_25912849_23860.cpp:52:22: error: 'mod' was not declared in this scope
             ans=(ans+mod)%mod;
                      ^
0_0_25912849_23860.cpp:54:16: error: 'mod' was not declared in this scope
        ans=ans%mod+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-11-28 14:08:28, Gzip enabled