Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 383 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 383 Bytes

How to run

You can run the code using the main method in the main class.

Then you can type the coordinates via standard input and finish the input with end.

Sample input

1,2
2,2
3,2
1000000001 ,1000000002
1000000002 ,1000000002
1000000003 ,1000000002
end

sample output

2,1
2,2
2,3
1000000002,1000000002
1000000002,1000000001
1000000002,1000000003
end