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.
Notably, you need to change the inputs for the function to cases and widths, as well as removing n from both the function and the part of the program that calls the function in main to avoid a segmentation fault.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Service Lane
You are viewing a single comment's thread. Return to all comments →
Notably, you need to change the inputs for the function to cases and widths, as well as removing n from both the function and the part of the program that calls the function in main to avoid a segmentation fault.