0_0_18175014_6533.c:5:5: error: variably modified 'flag' at file scope
int flag[maxn*4],set[maxn*4];
^
0_0_18175014_6533.c:5:18: error: variably modified 'set' at file scope
int flag[maxn*4],set[maxn*4];
^
0_0_18175014_6533.c: In function 'update':
0_0_18175014_6533.c:16:5: error: expected expression before '/' token
//cout<<rt<<" "<<l<<" "<<r<<endl;
^
0_0_18175014_6533.c: In function 'getans':
0_0_18175014_6533.c:40:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<30;i++)
^
0_0_18175014_6533.c:40:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18175014_6533.c:42:13: error: redefinition of 'i'
for(int i=0;i<d;i++){
^
0_0_18175014_6533.c:40:13: note: previous definition of 'i' was here
for(int i=0;i<30;i++)
^
0_0_18175014_6533.c:42:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<d;i++){
^
0_0_18175014_6533.c: In function 'main':
0_0_18175014_6533.c:52:5: error: expected expression before '/' token
//freopen("in","r",stdin);
^
|