0_0_18175022_23739.c:4:1: error: expected identifier or '(' before '/' token
//const int maxn=1e6+5;
^
0_0_18175022_23739.c: In function 'update':
0_0_18175022_23739.c:16:5: error: expected expression before '/' token
//cout<<rt<<" "<<l<<" "<<r<<endl;
^
0_0_18175022_23739.c: In function 'getans':
0_0_18175022_23739.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_18175022_23739.c:40:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18175022_23739.c:42:13: error: redefinition of 'i'
for(int i=0;i<d;i++){
^
0_0_18175022_23739.c:40:13: note: previous definition of 'i' was here
for(int i=0;i<30;i++)
^
0_0_18175022_23739.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_18175022_23739.c: In function 'main':
0_0_18175022_23739.c:52:5: error: expected expression before '/' token
//freopen("in","r",stdin);
^
|