Create 1163. Java vs C ++