[fix][compiler][std-lib] throw error if index out of bounds, fix scanf()