0_0_20911971_10186.cpp:5:19: error: array bound is not an integer constant before ']' token
long long ab[N * N];
^
0_0_20911971_10186.cpp:8:14: error: array bound is not an integer constant before ']' token
long long a[N], b[N], c[N], x;
^
0_0_20911971_10186.cpp:8:20: error: array bound is not an integer constant before ']' token
long long a[N], b[N], c[N], x;
^
0_0_20911971_10186.cpp:8:26: error: array bound is not an integer constant before ']' token
long long a[N], b[N], c[N], x;
^
0_0_20911971_10186.cpp: In function 'int search(long long int)':
0_0_20911971_10186.cpp:17:12: error: 'ab' was not declared in this scope
if(ab[mid] == x)
^
0_0_20911971_10186.cpp: In function 'int main()':
0_0_20911971_10186.cpp:34:29: error: 'a' was not declared in this scope
scanf("%I64d", &a[i]);
^
0_0_20911971_10186.cpp:36:29: error: 'b' was not declared in this scope
scanf("%I64d", &b[i]);
^
0_0_20911971_10186.cpp:38:29: error: 'c' was not declared in this scope
scanf("%I64d", &c[i]);
^
0_0_20911971_10186.cpp:42:17: error: 'ab' was not declared in this scope
ab[num++] = a[i] + b[j];
^
0_0_20911971_10186.cpp:42:29: error: 'a' was not declared in this scope
ab[num++] = a[i] + b[j];
^
0_0_20911971_10186.cpp:42:36: error: 'b' was not declared in this scope
ab[num++] = a[i] + b[j];
^
0_0_20911971_10186.cpp:43:14: error: 'ab' was not declared in this scope
sort(ab, ab+num);
^
0_0_20911971_10186.cpp:44:14: error: 'c' was not declared in this scope
sort(c, c+l);
^
|