And don't forget to add in Penon de Velez de la Gomera, with its 85 metres border with Morocco - according to Wikipedia, the world's shortest international border.
Quizzer6794 - I was trying to be funny, not critical in any way. Jerry928 - are you saying the boundary distance clue has to add that around both Melilla AND Ceuta? If so, eyeballing maps suggests to me that 17 km is the total.
Good place to drop the super fun fact that a tiny self-governing microstate once existed between Spain and Portugal named Couto Mixto! It was founded in the 9th century and lasted until the 19th century, about 27km2, and led by an Honorary Judge.
ALERT-ALERT: Sarcasm
Scoring
You scored 3/5 = 60%
This beats or equals 21.4% of test takers
The average score is 4
Your high score is 3