We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 11: 2D Arrays
Day 11: 2D Arrays
Sort by
recency
|
1907 Discussions
|
Please Login in order to post a comment
Solution in python3:
python solution :
def hourglass_sum(arr): max_sum = float('-inf')
arr = [] for _ in range(6): arr.append(list(map(int, input().rstrip().split())))
print(hourglass_sum(arr))
Java solution:
Python
area(arr)
Java