• + 0 comments
    import math
    
    def cdf_(grades_, mu_, sigma_):
        probability_ = 0.5 * (1 + math.erf((grades_ - mu_)/(sigma_ * math.sqrt(2))))
        return probability_ * 100
    
    mean_, st_dev_ = map(float, input().split())
    grade_pass = float(input())
    grade_fail = float(input())
    
    print(round(100 - cdf_(grade_pass, mean_, st_dev_), 2))
    print(round(100 - cdf_(grade_fail, mean_, st_dev_), 2))
    print(round(cdf_(grade_fail, mean_, st_dev_), 2))