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.
The code in the window is what the HackerRank server runs. You will write your code in the important-looking function that's mostly empty. ("main", or something). There might already be code there that declares some variables for you to use (like "arr" for an array of the numbers).
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
The code in the window is what the HackerRank server runs. You will write your code in the important-looking function that's mostly empty. ("main", or something). There might already be code there that declares some variables for you to use (like "arr" for an array of the numbers).