0_0_14595765_16233.cpp: In function 'void Modify(int, int, int)':
0_0_14595765_16233.cpp:17:37: error: 'max' was not declared in this scope
arr[x][y] = max(arr[x][y], d);
^
0_0_14595765_16233.cpp: In function 'int query(int, int)':
0_0_14595765_16233.cpp:24:33: error: 'max' was not declared in this scope
res = max(arr[x][y], res);
^
0_0_14595765_16233.cpp: In function 'int main()':
0_0_14595765_16233.cpp:41:29: error: 'sort' was not declared in this scope
sort (apple, apple+n);
^
0_0_14595765_16233.cpp:43:40: error: 'unique' was not declared in this scope
lshtot = unique(lsh, lsh+lshtot) - lsh;
^
0_0_14595765_16233.cpp:45:65: error: 'lower_bound' was not declared in this scope
apple[i].d = lower_bound(lsh, lsh+lshtot, apple[i].d) - lsh + 2;
^
0_0_14595765_16233.cpp:48:36: error: 'memset' was not declared in this scope
memset(arr, 0, sizeof (arr));
^
0_0_14595765_16233.cpp:60:46: error: 'max' was not declared in this scope
ans = max(ans, query(i, lshtot+1));
^
|