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_28900781_16688.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
 const int maxn=200005,mod=998244353;
 ^
0_0_28900781_16688.c:4:1: error: unknown type name 'LL'
 LL A[maxn],inv[maxn],prime[maxn],vis[maxn],cnt,mobi[maxn];
 ^
0_0_28900781_16688.c:4:6: error: 'maxn' undeclared here (not in a function)
 LL A[maxn],inv[maxn],prime[maxn],vis[maxn],cnt,mobi[maxn];
      ^
0_0_28900781_16688.c:5:1: error: unknown type name 'LL'
 LL abs(LL x)
 ^
0_0_28900781_16688.c:5:8: error: unknown type name 'LL'
 LL abs(LL x)
        ^
0_0_28900781_16688.c:9:1: error: unknown type name 'LL'
 LL pow(LL a,LL b)
 ^
0_0_28900781_16688.c:9:8: error: unknown type name 'LL'
 LL pow(LL a,LL b)
        ^
0_0_28900781_16688.c:9:13: error: unknown type name 'LL'
 LL pow(LL a,LL b)
             ^
0_0_28900781_16688.c:17:1: error: unknown type name 'LL'
 LL C(LL a,LL b)
 ^
0_0_28900781_16688.c:17:6: error: unknown type name 'LL'
 LL C(LL a,LL b)
      ^
0_0_28900781_16688.c:17:11: error: unknown type name 'LL'
 LL C(LL a,LL b)
           ^
0_0_28900781_16688.c: In function 'main':
0_0_28900781_16688.c:24:17: error: 'mod' undeclared (first use in this function)
 inv[0]=pow(A[0],mod-2);
                 ^
0_0_28900781_16688.c:24:17: note: each undeclared identifier is reported only once for each function it appears in
0_0_28900781_16688.c:25:1: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
 for(int i=1;i<=200000;i++)
 ^
0_0_28900781_16688.c:25:1: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_28900781_16688.c:30:9: error: redefinition of 'i'
 for(int i=0;i<t;i++)
         ^
0_0_28900781_16688.c:25:9: note: previous definition of 'i' was here
 for(int i=1;i<=200000;i++)
         ^
0_0_28900781_16688.c:30:1: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
 for(int i=0;i<t;i++)
 ^
0_0_28900781_16688.c:31:2: error: unknown type name 'LL'
 {LL n,m,k;
  ^
0_0_28900781_16688.c:38:28: error: expected ')' before ';' token
 {printf("%lld\n",C(k,m+k-1);}
                            ^
0_0_28900781_16688.c:38:29: error: expected ';' before '}' token
 {printf("%lld\n",C(k,m+k-1);}
                             ^
0_0_28900781_16688.c:40:2: error: unknown type name 'LL'
 {LL ans=C(m-1,m+k-1);
  ^
0_0_28900781_16688.c:42:1: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
 for(int i=1;i<=m;i++)
 ^


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-10-07 00:42:06, Gzip enabled