0_0_29470738_22688.cpp: In function 'int sum(int)':
0_0_29470738_22688.cpp:13:2: error: 'nbsp' was not declared in this scope
typev s = 0;
^
0_0_29470738_22688.cpp: In function 'void init()':
0_0_29470738_22688.cpp:22:2: error: 'nbsp' was not declared in this scope
memset(L, -1, sizeof(L)); memset(R, -1, sizeof(R));
^
0_0_29470738_22688.cpp:25:61: error: 'i' was not declared in this scope
for(int j = i + 1; j <= n && x[j] >= k; j++)
^
0_0_29470738_22688.cpp:26:75: error: 'j' was not declared in this scope
L[j] = i;
^
0_0_29470738_22688.cpp:26:80: error: 'i' was not declared in this scope
L[j] = i;
^
0_0_29470738_22688.cpp: In function 'int Get(int, int, int)':
0_0_29470738_22688.cpp:33:2: error: 'nbsp' was not declared in this scope
//printf("l %d r %d %d %dn", l, r, sum(r), sum(l - 1));
^
0_0_29470738_22688.cpp: In function 'int main()':
0_0_29470738_22688.cpp:41:2: error: 'nbsp' was not declared in this scope
int t;scanf("%d", &t);
^
0_0_29470738_22688.cpp:49:90: error: 'i' was not declared in this scope
scanf("%d", &sta[i]);
^
0_0_29470738_22688.cpp:54:79: error: 'i' was not declared in this scope
if (x[i] < k) nowans += Get(i + 1, n, !sta[i]);
^
0_0_29470738_22688.cpp:55:73: error: 'else' without a previous 'if'
else nowans += Get(R[i], n, !sta[i]);
^
0_0_29470738_22688.cpp:55:94: error: 'i' was not declared in this scope
else nowans += Get(R[i], n, !sta[i]);
^
0_0_29470738_22688.cpp:61:73: error: 'else' without a previous 'if'
else
^
0_0_29470738_22688.cpp:70:98: error: 'else' without a previous 'if'
}else
^
0_0_29470738_22688.cpp:76:97: error: 'else' without a previous 'if'
else add(i, -1), sta[i] = 0;
^
|