Let $N=\sum_{k=1}^{1000} k\left(\left\lceil\log_{\sqrt{2}}k\right\rceil-\left\lfloor\log_{\sqrt{2}}k\right\rfloor\right)$. Find the remainder when $N$ is divided by $1000$. ($\lfloor k\rfloor$ is the greatest integer less than or equal to $k$, and $\lceil k\rceil$ is the least integer greater than or equal to $k$.)