Ahnaf.Shahriar.Asif's blog

By Ahnaf.Shahriar.Asif, history, 7 years ago, In English

Just one question , am I doing any kinds of segmentation violation ?? such as -> wrong ara indexing or accessing memory out of bounds etc etc ???

memory limit : 256 mb

code : https://paste.ubuntu.com/25887595/

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Ahnaf.Shahriar.Asif (previous revision, new revision, compare).

»
7 years ago, # |
Rev. 2   Vote: I like it +8 Vote: I do not like it

Well .. I guess the following lines are suspicious:

line 25: x can be equal to size (according to previous while)
line 42: I see that v can be negative (according to previous 2 while loops)