### Canonicalized Input Description:

An integer \( n \) (1 ≤ \( n \) ≤ 100), representing some quantity or size.
An integer \( w \) (10 ≤ \( w \) ≤ 50), representing an interval width.
A list of \( n \) integers \( v \) (0 ≤ \( v[i] \) ≤ 100), representing values.

### Example Input:

```
3 50
100
0
100
```

### Function Signature:
Write a function `f(inputs)` that takes in the input. 
```python
def f(inputs: List[Tuple[int, int, List[int]]]):
    '''
    inputs: a list of tuples, where each tuple contains:
        - an integer
        - an integer
        - a list of integers
    '''
```