This comment is hidden because it contains spoiler information about the solution
Nice solution but reverse method reverses an array in place which means the array passed in function by ref will be reversed outside too.
http://lmgtfy.com/?q=SIGFPE
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Nice solution but reverse method reverses an array in place which means the array passed in function by ref will be reversed outside too.
http://lmgtfy.com/?q=SIGFPE