Implement the function minimum_days_to_give_candies(n, k, candies), which calculates the minimum number of days required to distribute at least k candies, given the daily candy supply over n days.
Input Requirements:
n (1 <= n <= 1000): An integer representing the number of days.
k (1 <= k <= 10000): An integer representing the target number of candies to be distributed.
candies: A list of integers of length n, where each integer represents the number of candies available on each day. Each integer must be non-negative.
Output Requirements:
The function should return:
An integer representing the minimum number of days needed to distribute at least k candies. If it is not possible to distribute k candies within the given days, return -1.