0_0_28685769_9629.cpp:4:1: error: expected ',' or ';' before 'int'
int n,m,x,y,x1,y1,root,ans;
^
0_0_28685769_9629.cpp: In function 'int main()':
0_0_28685769_9629.cpp:13:22: error: 'n' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_28685769_9629.cpp:13:25: error: 'm' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_28685769_9629.cpp:17:3: error: 'ans' was not declared in this scope
ans=0;
^
0_0_28685769_9629.cpp:19:18: error: 'x' was not declared in this scope
scanf("%d%d",&x,&y);
^
0_0_28685769_9629.cpp:19:21: error: 'y' was not declared in this scope
scanf("%d%d",&x,&y);
^
0_0_28685769_9629.cpp:22:4: error: 'x1' was not declared in this scope
x1=get1(x);
^
0_0_28685769_9629.cpp:23:4: error: 'y1' was not declared in this scope
y1=get1(y);
^
0_0_28685769_9629.cpp:27:4: error: 'root' was not declared in this scope
root=get1(i);
^
|