n workers. For each of them you know how many hours they put in this week: logged[i] is the hours of worker i.
A week counts only if a worker logged at least norm hours. Return how many workers met the norm.logged=[7, 3, 8, 8, 2], norm=7 → 3
Three people reached 7 hours: 7, 8 and 8. Exactly 7 hours counts too.
logged=[4, 1, 0], norm=5 → 0
Nobody reached 5 hours.
logged=[0, 0], norm=0 → 2
logged=[7, 3, 8, 8, 2], norm=7
3
Run checks the first 3 tests in your browser. Submit checks all 103 tests on the server, hidden ones included.