Write a Go program to demonstrate the use of a custom struct as a key in a map.
MediumProblem Statement
Write a Go program to demonstrate the use of a custom struct as a key in a map.
Sample Input
Struct Point with fields X and Y.
Sample Output
Point A Point B
Limits
Time: 2s · Memory: 256 MB