Click here to Skip to main content
15,891,785 members

Comments by lock&_lock (Top 62 by date)

lock&_lock 25-Oct-23 9:36am View    
Oh no. Ok then, I will look into things you mentioned, thanks giving me some directions ! It's been decades since I studied GDB in school and I was never fully understand it to begin with, I guess it time for me to revisit.
lock&_lock 7-Dec-22 12:55pm View    
@Richard It got submitted fine just now. I just removed the array size input part. I would never mess with posting different things and waste people's time. Again, I apologize.
lock&_lock 7-Dec-22 12:50pm View    
@k5054 Your suggestion is on point, this was my mistake that got me stuck for 2 days before posting it here. It got submitted just fine now. I will immediately excuse myself and disappear out of embarrasment, thank you.
lock&_lock 7-Dec-22 12:48pm View    
@Richard As for line 44/45, I have modified the code following @jeron1 suggestion to use size(). I also want to update that @k5054 suggestion was on point, the "array_size" input was unecessary for the submission, and somehow it reported back as segmentation error. It was my mistake, thank you very much for your time & assistance. I will immediately excuse myself and disappear out of embarrasment.
lock&_lock 7-Dec-22 12:34pm View    
@Richard I have updated my question with additional report on the error, that's all of the error information Hackerrank provides. All inputs are only by the website, the website will run the submission against some inputs. User input is not possible.