0_0_6442959_8588\Main.java:8: illegal character: \35
#include<stdio.h>
^
0_0_6442959_8588\Main.java:9: illegal character: \35
#include <iostream>
^
0_0_6442959_8588\Main.java:10: illegal character: \35
#include <algorithm>
^
0_0_6442959_8588\Main.java:11: illegal character: \35
#include <cmath>
^
0_0_6442959_8588\Main.java:12: illegal character: \35
#include <cstdio>
^
0_0_6442959_8588\Main.java:13: illegal character: \35
#define MAX 200010
^
0_0_6442959_8588\Main.java:15: class, interface, or enum expected
int w,h,n;
^
0_0_6442959_8588\Main.java:16: class, interface, or enum expected
struct Node
^
0_0_6442959_8588\Main.java:19: class, interface, or enum expected
int max;
^
0_0_6442959_8588\Main.java:20: class, interface, or enum expected
}tree[MAX<<2];
^
0_0_6442959_8588\Main.java:22: class, interface, or enum expected
void PushUp(int idx)
^
0_0_6442959_8588\Main.java:25: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:30: class, interface, or enum expected
tree[idx].right=right;
^
0_0_6442959_8588\Main.java:31: class, interface, or enum expected
tree[idx].max=w;
^
0_0_6442959_8588\Main.java:32: class, interface, or enum expected
if(right==left)
^
0_0_6442959_8588\Main.java:34: class, interface, or enum expected
int mid=(left+right)>>1;
^
0_0_6442959_8588\Main.java:35: class, interface, or enum expected
build(left,mid,idx<<1);
^
0_0_6442959_8588\Main.java:36: class, interface, or enum expected
build(mid+1,right,idx<<1|1);
^
0_0_6442959_8588\Main.java:38: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:45: class, interface, or enum expected
return tree[idx].left;
^
0_0_6442959_8588\Main.java:46: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:49: class, interface, or enum expected
int ans,ans1,ans2;
^
0_0_6442959_8588\Main.java:50: class, interface, or enum expected
if(tree[idx<<1].max>=val)
^
0_0_6442959_8588\Main.java:53: class, interface, or enum expected
}else
^
0_0_6442959_8588\Main.java:56: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:58: class, interface, or enum expected
PushUp(idx);
^
0_0_6442959_8588\Main.java:59: class, interface, or enum expected
return ans;
^
0_0_6442959_8588\Main.java:60: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:68: class, interface, or enum expected
build(1,h,1);
^
0_0_6442959_8588\Main.java:70: class, interface, or enum expected
while(n--)
^
0_0_6442959_8588\Main.java:73: class, interface, or enum expected
scanf("%d",&val);
^
0_0_6442959_8588\Main.java:74: class, interface, or enum expected
if(tree[1].max<val)
^
0_0_6442959_8588\Main.java:76: class, interface, or enum expected
else
^
0_0_6442959_8588\Main.java:78: class, interface, or enum expected
}
^
0_0_6442959_8588\Main.java:84: class, interface, or enum expected
}
^
35 errors
|