+ 24

# [ CHALLENGE: ] HourGlass [ 2D_Array ]

TASK : Given a 6 * 6 2D_Array, A Calculate the hourglass sum for every hourglass in A, then print the maximum hourglass sum. Input Format : There are 6 lines of input, where each line contains 6 space-separated integers describing 2D_Array A; every value in A will be in the inclusive range of -9 to 9. Output Format : Print the largest (maximum) hourglass sum found in A. Happy Coding!! 👍😊 EXPLANATION !! https://code.sololearn.com/c8n17R2fyzsI/?ref=app

31st Jan 2018, 11:24 AM
Danijel Ivanović
12 ответов
31st Jan 2018, 3:58 PM
Jonathan Pizarra (JS Challenger)
+ 22
I believe that you all have the same opinion as I do && @Jonathan Pizarra's answer is 🏁 TheBest !! 🏁 👍👌 Congratulations !! 👏👏 😊
31st Jan 2018, 5:36 PM
Danijel Ivanović
+ 20
🆒 @Infinity 🆒 Thanks a lot mate !! 👍😆 I'm glad you like it. 👏👌😉
1st Feb 2018, 12:50 PM
Danijel Ivanović
+ 20
@Arman Thanks a lot 👍 but SoloLearn is here for us 😊 && for everything we need !! 🤗👍
1st Feb 2018, 2:02 PM
Danijel Ivanović
+ 19
My solution is a real school example to learn Java !! 😆😁 https://code.sololearn.com/cVK1kkCVdv29/?ref=app
31st Jan 2018, 3:50 PM
Danijel Ivanović
+ 16
https://code.sololearn.com/cci3Po7yo3Gh/?ref=app
31st Jan 2018, 2:52 PM
LukArToDo
+ 16
Cool challenge!
1st Feb 2018, 12:47 PM
Infinity
31st Jan 2018, 2:19 PM
Cool Codin
31st Jan 2018, 9:52 PM
LunarCoffee
+ 5
Here's an AngularJs version: https://code.sololearn.com/W4ByLc5PFTtr/#js
2nd Feb 2018, 12:10 PM
Luc Hariman Randrianomenjanahary
+ 4
https://code.sololearn.com/cHzA4ZQumcJ5/?ref=app
31st Jan 2018, 10:01 PM
wolfsan
1st Feb 2018, 10:10 AM
Jente
Актуальное сегодня
Help