- Open eclipse and import as a Java application.
- Right click the project and go to run -> run configuration
- In arguments tab, input 2 integers (start, end)
- Click "run"
If there is an error in: int idx2 = postStr.indexOf("??", idx0); replace the 1st parameter to the string of Chinese left parenthesis.