foo.cpp:1:1: error: 'include' does not name a type
foo.cpp:8:1: error: 'define' does not name a type
foo.cpp:8:43: error: 'i' does not name a type
foo.cpp:8:52: error: expected unqualified-id before '++' token
foo.cpp:10:39: error: 'i' does not name a type
foo.cpp:10:50: error: expected unqualified-id before ')' token
foo.cpp:12:44: error: 'i' does not name a type
foo.cpp:12:53: error: expected unqualified-id before '--' token
foo.cpp:22:7: error: 'll' does not name a type
foo.cpp:23:1: error: 'll' does not name a type
foo.cpp: In function 'void dfs(int, int)':
foo.cpp:26:76: error: 'i' was not declared in this scope
foo.cpp:26:86: error: 'REP' was not declared in this scope
foo.cpp:26:88: error: expected ';' before 'dp'
foo.cpp:26:144: error: 'i' was not declared in this scope
foo.cpp:26:154: error: 'REP' was not declared in this scope
foo.cpp:26:156: error: expected ';' before 'dp'
foo.cpp:26:225: error: 'i' was not declared in this scope
foo.cpp:26:235: error: 'REP' was not declared in this scope
foo.cpp:26:237: error: expected ';' before 'dfs'
foo.cpp:26:292: error: expected ';' before 'dp'
foo.cpp:26:335: error: expected ';' before '{' token
foo.cpp:28:567: error: expected '}' at end of input