blocks.cpp: In function 'int main()':
blocks.cpp:12:30: error: invalid conversion from 'int (*)[100005]' to 'size_t {aka long unsigned int}' [-fpermissive]
memset(dp, 0x3f3f3f3f, dp);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:533,
from /usr/include/c++/7/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:33,
from blocks.cpp:1:
/usr/include/x86_64-linux-gnu/bits/string3.h:78:1: note: initializing argument 3 of 'void* memset(void*, int, size_t)'
__NTH (memset (void *__dest, int __ch, size_t __len))
^