Boil the potatoes, peel them, and mash them.
Slice the cucumber thinly, salt it, let it sit, then rinse it.
Finely chop the carrot and blanch it.
Cut the ham into small pieces.
Put all the ingredients in a bowl and mix with mayonnaise, salt, and pepper.
Serve the finished potato salad in a bowl.