0_0_35913673_18431.cpp:6:22: error: expected primary-expression before ';' token
const int maxn = + ;
^
0_0_35913673_18431.cpp:7:12: error: size of array 'a' is not an integral constant-expression
int a[maxn];
^
0_0_35913673_18431.cpp: In function 'int main()':
0_0_35913673_18431.cpp:12:21: error: expected primary-expression before ';' token
for(int kase = ; kase < T; kase++)
^
0_0_35913673_18431.cpp:17:22: error: expected primary-expression before ';' token
for(int i = ; i < n; i++) scanf("%d", &a[i]);
^
0_0_35913673_18431.cpp:19:21: error: expected primary-expression before ',' token
int head = , rear = n - , cnt = ;
^
0_0_35913673_18431.cpp:20:24: error: 'rear' was not declared in this scope
while(head <= rear)
^
0_0_35913673_18431.cpp:22:14: error: 'cnt' was not declared in this scope
cnt++;
^
0_0_35913673_18431.cpp:27:25: error: 'cnt' was not declared in this scope
printf("%d\n", cnt);
^
|