v1 runtime error!

there is a common mistake in this code. please brain debug