CODE
guys i am getting sigsegv from a very LONG time,
this code is running well locally
can someone pls help me find the bug ?
Vectors are 0-indexed
could you break it down another level ?
I am new
Uh… when you access v[1000]
, it actually asks for the 1001
-th element, but your vectors are only of size 1000
.
oh got it
thanks dude
very silly of me