Submit | All submissions | Best solutions | Back to list |
AR2MAX - Nhap Mang Va Tim Max |
Allow the user to enter the size of the array n × m, then enter the value of each element in the array. Find and print the maximum value.
Input
n m
pt00 pt01 ....
pt10 pt11 ....
Output
The maximum value from the array
Example
Input: 2 3
1 2 3
4 5 6 Output: 6
Added by: | khanhvh |
Date: | 2020-11-17 |
Time limit: | 1s-5s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |
hide comments