您的答案為: 1110001100110110 ...略
When process is done for a test case, please add "System.out.println" to seperate different cases.
Your solution seems to be fine.