0_0_30500601_28933.cpp: In function 'void solve()': 0_0_30500601_28933.cpp:45:25: error: cannot convert 'mat' to 'void*' for argument '1' to 'void* memset(void*, int, size_t)' memset(res,0,sizeof res); ^