0_0_30465830_14377.c:4:1: error: expected identifier or '(' before '/' token
//using namespace std;
^
0_0_30465830_14377.c:10:5: error: variably modified 'a' at file scope
int a[maxn],tree[maxn];
^
0_0_30465830_14377.c:10:13: error: variably modified 'tree' at file scope
int a[maxn],tree[maxn];
^
0_0_30465830_14377.c:11:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
inline int lowbit(int x)
^
0_0_30465830_14377.c:15:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
inline void update(int x,int k)
^
0_0_30465830_14377.c:23:1: error: unknown type name 'inline'
inline ll getsum(int x)
^
0_0_30465830_14377.c:23:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getsum'
inline ll getsum(int x)
^
0_0_30465830_14377.c: In function 'main':
0_0_30465830_14377.c:40:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<n;i++)
^
0_0_30465830_14377.c:40:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_30465830_14377.c:57:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=l+1;i<=r;i++)
^
|