Problem Description

Given n numbers and limit k. Task rejects if number is negative, else resolves with abs value. Run with max k concurrency and print okCount failCount.

Input Format

Line1: n k. Line2: n integers.

Output Format

Two integers ok fail.

Sample Test Case

Input:
7 3 -1 2 -3 4 0 -5 6
Output:
4 3

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next