0_0_17525319_30821.cpp:1:1: error: 'include' does not name a type
include<cstdio>
^
0_0_17525319_30821.cpp: In function 'void Build(int, int, int)':
0_0_17525319_30821.cpp:23:55: error: 'max' was not declared in this scope
node[u].maxf = max(node[L(u)].maxf,node[R(u)].maxf);
^
0_0_17525319_30821.cpp: In function 'int Query(int, int, int)':
0_0_17525319_30821.cpp:34:59: error: 'max' was not declared in this scope
else return max (Query(L(u),l,mid),Query(R(u),mid+1,r));
^
0_0_17525319_30821.cpp: In function 'void Update(int, int, int)':
0_0_17525319_30821.cpp:47:55: error: 'max' was not declared in this scope
node[u].maxf = max(node[L(u)].maxf,node[R(u)].maxf);
^
0_0_17525319_30821.cpp: In function 'int main()':
0_0_17525319_30821.cpp:52:33: error: 'scanf' was not declared in this scope
while (~scanf ("%d %d",&n,&m))
^
0_0_17525319_30821.cpp:59:21: error: 'getchar' was not declared in this scope
getchar();
^
0_0_17525319_30821.cpp:67:35: error: 'printf' was not declared in this scope
printf ("%d\n",ans);
^
|