0_0_25616237_23283.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25616237_23283.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25616237_23283.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25616237_23283.cpp: In function 'void PushUP(int)':
0_0_25616237_23283.cpp:13:37: error: 'max' was not declared in this scope
T[rt] = max(T[rt<<1], T[rt<<1|1]);
^
0_0_25616237_23283.cpp: In function 'void Build(int, int, int)':
0_0_25616237_23283.cpp:18:26: error: 'scanf' was not declared in this scope
scanf("%d",&T[rt]);
^
0_0_25616237_23283.cpp: In function 'int Query(int, int, int, int, int)':
0_0_25616237_23283.cpp:42:49: error: 'max' was not declared in this scope
if(L <= m) ret = max(ret, Query(L, R, lson));
^
0_0_25616237_23283.cpp:43:47: error: 'max' was not declared in this scope
if(R > m) ret = max(ret, Query(L, R, rson));
^
0_0_25616237_23283.cpp: In function 'int main()':
0_0_25616237_23283.cpp:50:32: error: 'scanf' was not declared in this scope
while(scanf("%d %d", &n, &m)==2){
^
0_0_25616237_23283.cpp:54:65: error: 'printf' was not declared in this scope
if(ch[0] == 'Q') printf("%d\n", Query(a, b, 1, n, 1));
^
|