I'm trying to prove that $TIME(n)\neq L$ by padding technique, yet it has a trouble:
Assume that $TIME(n)= L$, let $A\in TIME(n^2)\backslash TIME(n)$ so $A\notin L$. Let $A_{pad}=\{x01^{|x|^2-|x|-1}|x\in A\}$, it is easily to see that $A_{pad}\in TIME(n)$. Thus, we could decide $x\in A$ by padding it to $x01^{|x|^2-|x|-1}\in A_{pad}$ then deciding $A_{pad}$ in $O(\log n)$ space as assuming. When padding, however, we have used $O(n^2)$ space, so the algorithm consumes more than $O(\log n)$ space, which is not a contradiction as desired.
How could this problem be solved? Thanks in advanced!