Grate the carrot and cucumber on a box grater using the large holes. Squeeze the liquid out of the cucumber. In a small bowl, stir together the vinegar, sugar, salt, and pepper. Stir in the carrot and cucumber. Let sit at room temperature for 10-30 minutes.