0_0_38054336_28948.cpp:12:11: error: '::main' must return 'int' void main() ^ 0_0_38054336_28948.cpp: In function 'int main()': 0_0_38054336_28948.cpp:20:27: error: 'memset' was not declared in this scope memset(dp, 0, sizeof(dp)); //³õʼ»¯dpÊý×é ^