Implement a function named calculate_benford_probability that calculates the probability of a specific digit (leading '1') appearing as the most significant digit in a range of numbers defined by the given intervals. The function should adhere to the principles of Benford's Law and utilize dynamic programming to achieve the required calculations efficiently.
n (1 ≤ n ≤ 1000): An integer representing the number of intervals.
intervals: A list of n tuples, where each tuple contains two integers (Li, Ri) representing the inclusive range of integers for the interval.
k (0 ≤ k ≤ 100): An integer representing the percentage threshold for the most significant digit (1 represents the leading digit).
Output Requirements
The function should return a float rounded to 10 decimal places, representing the calculated probability of the digit '1' being the most significant digit in the defined ranges.
Implementation
Create a file named /app/solution.py.
The file should include the calculate_benford_probability function as defined in the provided implementation.
Ensure that the necessary imports (e.g., List, Tuple from typing) are included at the top of the file.
The file should be self-contained and executable without external dependencies.
Example
python
result = calculate_benford_probability(3, [(1, 100), (101, 200), (201, 300)], 50)
print(result) # Expected output: some probability value rounded to 10 decimal places