Implement a function that calculates the probability of achieving a specific outcome in a game or event based on two parameters: the total number of positions (N) and the probability of a successful event at one position (P). The function will determine the probability of reaching exactly position N using a predefined probability model.
Input Requirements
The function should accept two integers:
N (1 ≤ N ≤ 10^5): the total number of positions.
P (0 ≤ P ≤ 100): the probability of a successful event as a percentage.
Output Requirements
The function should return a float value, representing the probability of reaching exactly position N, formatted to six decimal places.
Implementation
The solution should be implemented in a file named /app/solution.py using the following function signature: