⌨️

[AtCoder]ABC-222|B - Failing Grade

2023/05/11に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def getIntList():
    return list(map(int, input().split()))


def main():
    n, p = getIntMap()
    a = getIntList()
    b = [i for i in a if i < p]

    print(len(b))


if __name__ == "__main__":
    main()

Discussion