0_0_23151669_18412.cpp: In function 'int main()':
0_0_23151669_18412.cpp:17:42: error: 'max' was not declared in this scope
ans[belong[i]]=max(ans[belong[i]],a[i]);
^
0_0_23151669_18412.cpp:21:28: error: 'min' was not declared in this scope
r[i]=min(l[i]+len-1,a[n]);
^
0_0_23151669_18412.cpp:29:21: error: 'max' was not declared in this scope
ma=max(ma,a[i]);
^
0_0_23151669_18412.cpp:34:21: error: 'max' was not declared in this scope
ma=max(ma,a[i]);
^
0_0_23151669_18412.cpp:37:21: error: 'max' was not declared in this scope
ma=max(ma,a[i]);
^
0_0_23151669_18412.cpp:40:21: error: 'max' was not declared in this scope
ma=max(ma,a[i]);
^
0_0_23151669_18412.cpp:49:44: error: 'max' was not declared in this scope
ans[belong[x]]=max(ans[belong[x]],a[i]);
^
|