错误解释
CompileError!
编译信息
main.c:1:1: error: unknown type name \xe2\x80\x98def\xe2\x80\x99\n 1 | def count_ways(m, n):\n | ^~~\nmain.c: In function \xe2\x80\x98count_ways\xe2\x80\x99:\nmain.c:1:21: error: expected declaration specifiers before \xe2\x80\x98:\xe2\x80\x99 token\n 1 | def count_ways(m, n):\n | ^\nmain.c:2:7: error: invalid preprocessing directive #\\U0000521b\\U00005efa\\U00004e8c\\U00007ef4\\U00006570\\U00007ec4\n 2 | # \xe5\x88\x9b\xe5\xbb\xba\xe4\xba\x8c\xe7\xbb\xb4\xe6\x95\xb0\xe7\xbb\x84 dp\xef\xbc\x8cdp[i][j] \xe8\xa1\xa8\xe7\xa4\xba i \xe4\xb8\xaa\xe8\x8b\xb9\xe6\x9e\x9c\xe6\x94\xbe\xe5\x85\xa5 j \xe4\xb8\xaa\xe7\x9b\x98\xe5\xad\x90\xe7\x9a\x84\xe5\x88\x86\xe6\xb3\x95\xe6\x95\xb0\n | ^~~~~~~~~~~~\nmain.c:5:7: error: invalid preprocessing directive #\\U0000521d\\U000059cb\\U00005316\\U0000ff1a0\n 5 | # \xe5\x88\x9d\xe5\xa7\x8b\xe5\x8c\x96\xef\xbc\x9a0 \xe4\xb8\xaa\xe8\x8b\xb9\xe6\x9e\x9c\xe5\x8f\xaa\xe6\x9c\x89\xe4\xb8\x80\xe7\xa7\x8d\xe6\x94\xbe\xe6\xb3\x95\xef\xbc\x88\xe5\x85\xa8\xe7\xa9\xba\xe7\x9b\x98\xef\xbc\x89\n | ^~~~~~~~~\nmain.c:9:7: error: invalid preprocessing directive #\\U0000521d\\U000059cb\\U00005316\\U0000ff1a1\n 9 | # \xe5\x88\x9d\xe5\xa7\x8b\xe5\x8c\x96\xef\xbc\x9a1 \xe4\xb8\xaa\xe7\x9b\x98\xe5\xad\x90\xe5\x8f\xaa\xe6\x9c\x89\xe4\xb8\x80\xe7\xa7\x8d\xe6\x94\xbe\xe6\xb3\x95\n | ^~~~~~~~~\nmain.c:13:7: error: invalid preprocessing directive #\\U0000586b\\U00005145\\U000052a8\\U00006001\\U000089c4\\U00005212\\U00008868\n 13 | # \xe5\xa1\xab\xe5\x85\x85\xe5\x8a\xa8\xe6\x80\x81\xe8\xa7\x84\xe5\x88\x92\xe8\xa1\xa8\n | ^~~~~~~~~~~~~~\nmain.c:17:19: error: invalid preprocessing directive #\\U000076d8\\U00005b50\\U00006570\\U00005927\\U00004e8e\\U000082f9\\U0000679c\\U00006570\\U0000ff0c\\U000076f8\\U00005f53\\U00004e8e\\U00007528\n 17 | # \xe7\x9b\x98\xe5\xad\x90\xe6\x95\xb0\xe5\xa4\xa7\xe4\xba\x8e\xe8\x8b\xb9\xe6\x9e\x9c\xe6\x95\xb0\xef\xbc\x8c\xe7\x9b\xb8\xe5\xbd\x93\xe4\xba\x8e\xe7\x94\xa8 i \xe4\xb8\xaa\xe7\x9b\x98\xe5\xad\x90\xe7\x9a\x84\xe6\x83\x85\xe5\x86\xb5\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~\nmain.c:20:19: error: invalid preprocessing directive #\\U00004e24\\U000079cd\\U000060c5\\U000051b5\\U0000ff1a\\U000081f3\\U00005c11\\U00004e00\\U00004e2a\\U00007a7a\\U000076d8\n 20 | # \xe4\xb8\xa4\xe7\xa7\x8d\xe6\x83\x85\xe5\x86\xb5\xef\xbc\x9a\xe8\x87\xb3\xe5\xb0\x91\xe4\xb8\x80\xe4\xb8\xaa\xe7\xa9\xba\xe7\x9b\x98 + \xe6\x89\x80\xe6\x9c\x89\xe7\x9b\x98\xe5\xad\x90\xe9\x9d\x9e\xe7\xa9\xba\n | ^~~~~~~~~~~~~~~~~~~~~~\nmain.c:1:5: warning: type of \xe2\x80\x98m\xe2\x80\x99 defaults to \xe2\x80\x98int\xe2\x80\x99 [-Wimplicit-int]\n 1 | def count_ways(m, n):\n | ^~~~~~~~~~\nmain.c:1:5: warning: type of \xe2\x80\x98n\xe2\x80\x99 defaults to \xe2\x80\x98int\xe2\x80\x99 [-Wimplicit-int]\nmain.c:29: warning: control reaches end of non-void function [-Wreturn-type]\n