Problem Statement
Write a program to count the number of elements in a matrix that are strictly greater than a value K. K is provided after the matrix input.
DEMO-C-32 โข Programming in C
Write a program to count the number of elements in a matrix that are strictly greater than a value K. K is provided after the matrix input.
Input: Dimensions N M followed by the matrix elements.
Output: The formatted result as specified.
Submit runs every public testcase in this browser. Results and code never leave this device.
2 4 45 7 25 1 13 45 0 35 3
6
2 5 5 14 16 5 38 29 -9 42 10 9 8
7
5 4 5 -10 14 -10 40 43 -3 19 1 -4 9 20 24 9 44 27 14 -7 38 -4 8
12
2 5 34 15 24 32 20 22 3 20 48 -4 1
9
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question