0_0_33147002_29797.cpp:45:1: error: expected initializer before 'int'
int n, m, t, opt, x, y,ans,ret;
^
0_0_33147002_29797.cpp: In function 'int main()':
0_0_33147002_29797.cpp:68:10: error: 't' was not declared in this scope
cin>>t;
^
0_0_33147002_29797.cpp:72:16: error: 'n' was not declared in this scope
cin >> n >> m;
^
0_0_33147002_29797.cpp:72:21: error: 'm' was not declared in this scope
cin >> n >> m;
^
0_0_33147002_29797.cpp:77:50: error: 'update' was not declared in this scope
update(T[i], 1, n + 1, T[i - 1], a[i]);
^
0_0_33147002_29797.cpp:79:47: error: 'update' was not declared in this scope
update(T[n + 1], 1, n + 1, T[n], n + 1);
^
0_0_33147002_29797.cpp:81:9: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_33147002_29797.cpp:84:20: error: 'opt' was not declared in this scope
cin >> opt;
^
0_0_33147002_29797.cpp:87:24: error: 'x' was not declared in this scope
cin >> x;
^
0_0_33147002_29797.cpp:93:24: error: 'x' was not declared in this scope
cin >> x >> y;
^
0_0_33147002_29797.cpp:93:29: error: 'y' was not declared in this scope
cin >> x >> y;
^
0_0_33147002_29797.cpp:98:21: error: 'ret' was not declared in this scope
ret = 0;
^
0_0_33147002_29797.cpp:99:54: error: 'query' was not declared in this scope
query(T[x], T[n + 1], 1, n + 1, y);
^
0_0_33147002_29797.cpp:104:21: error: 'ret' was not declared in this scope
ret = 0;
^
0_0_33147002_29797.cpp:105:54: error: 'query' was not declared in this scope
query(T[x], T[n + 1], 1, n + 1, y);
^
|