Subtract the \(n\) candies kept, then divide the rest by 5.

• After keeping \(n\): \(19 - n\) candies remain
• Shared among 5 pupils: \(\frac{19 - n}{5}\) each

Final Answer: B: \(\frac{19 - n}{5}\)