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_28900777_10657.cpp:3:1: error: expected initializer before 'const'
 const int maxn=200005,mod=998244353;
 ^
0_0_28900777_10657.cpp:4:1: error: 'LL' does not name a type
 LL A[maxn],inv[maxn],prime[maxn],vis[maxn],cnt,mobi[maxn];
 ^
0_0_28900777_10657.cpp:5:1: error: 'LL' does not name a type
 LL abs(LL x)
 ^
0_0_28900777_10657.cpp:9:1: error: 'LL' does not name a type
 LL pow(LL a,LL b)
 ^
0_0_28900777_10657.cpp:17:1: error: 'LL' does not name a type
 LL C(LL a,LL b)
 ^
0_0_28900777_10657.cpp: In function 'int main()':
0_0_28900777_10657.cpp:23:2: error: 'A' was not declared in this scope
 {A[0]=1;
  ^
0_0_28900777_10657.cpp:24:1: error: 'inv' was not declared in this scope
 inv[0]=pow(A[0],mod-2);
 ^
0_0_28900777_10657.cpp:24:17: error: 'mod' was not declared in this scope
 inv[0]=pow(A[0],mod-2);
                 ^
0_0_28900777_10657.cpp:24:22: error: 'pow' was not declared in this scope
 inv[0]=pow(A[0],mod-2);
                      ^
0_0_28900777_10657.cpp:31:2: error: 'LL' was not declared in this scope
 {LL n,m,k;
  ^
0_0_28900777_10657.cpp:32:17: error: 'n' was not declared in this scope
 scanf("%d%d%d",&n,&m,&k);
                 ^
0_0_28900777_10657.cpp:32:20: error: 'm' was not declared in this scope
 scanf("%d%d%d",&n,&m,&k);
                    ^
0_0_28900777_10657.cpp:32:23: error: 'k' was not declared in this scope
 scanf("%d%d%d",&n,&m,&k);
                       ^
0_0_28900777_10657.cpp:38:27: error: 'C' was not declared in this scope
 {printf("%lld\n",C(k,m+k-1);}
                           ^
0_0_28900777_10657.cpp:40:5: error: expected ';' before 'ans'
 {LL ans=C(m-1,m+k-1);
     ^
0_0_28900777_10657.cpp:43:2: error: 'ans' was not declared in this scope
 {ans+=flag*C(i,m)*C(m-1,m+k-1-i*n)%mod;
  ^
0_0_28900777_10657.cpp:43:17: error: 'C' was not declared in this scope
 {ans+=flag*C(i,m)*C(m-1,m+k-1-i*n)%mod;
                 ^
0_0_28900777_10657.cpp:46:17: error: 'ans' was not declared in this scope
 printf("%lld\n",ans);}}}
                 ^


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-09 05:31:17, Gzip enabled