0_0_32338467_25371.cpp:4:1: error: expected ',' or ';' before 'const' const int mod=10000; ^ 0_0_32338467_25371.cpp: In function 'int dfs(int, int)': 0_0_32338467_25371.cpp:27:10: error: 'mod' was not declared in this scope tmp%=mod; ^