0_0_16591441_20998.cpp:1:24: error: stray '#' in program
-----------------------#include<bits/stdc++.h>
^
0_0_16591441_20998.cpp:1:1: error: expected unqualified-id before '--' token
-----------------------#include<bits/stdc++.h>
^
0_0_16591441_20998.cpp: In function 'int read()':
0_0_16591441_20998.cpp:11:34: error: 'getchar' was not declared in this scope
int s=0,fh=1;char ch=getchar();
^
0_0_16591441_20998.cpp: In function 'void pushdown(int)':
0_0_16591441_20998.cpp:26:40: error: 'swap' was not declared in this scope
swap(tree[x].left,tree[x].right);
^
0_0_16591441_20998.cpp: In function 'int main()':
0_0_16591441_20998.cpp:102:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_16591441_20998.cpp:102:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_16591441_20998.cpp:107:22: error: 'puts' was not declared in this scope
if(tt)puts("");
^
0_0_16591441_20998.cpp:129:42: error: 'printf' was not declared in this scope
printf("%d\n",findroot(k));
^
|