public String eraseComment(String s) {
		StringBuilder rel=new StringBuilder();
		boolean f=false;
		for (int i=0,n=s.length();i<n;)
			if (!f) {
				if (i+1<n&&s.charAt(i)=='/'&&s.charAt(i+1)=='*') {
					f=true; i+=2;
				} else rel.append(s.charAt(i++));
			} else {
				if (i+1<n&&s.charAt(i)=='*'&&s.charAt(i+1)=='/') {
					f=false; i+=2;
				} else ++i;
			}
		return rel.toString();
	}