foo.cpp:2:1: error: 'include' does not name a type
foo.cpp:10:1: error: 'define' does not name a type
foo.cpp:10:43: error: 'i' does not name a type
foo.cpp:10:52: error: expected unqualified-id before '++' token
foo.cpp:12:39: error: 'i' does not name a type
foo.cpp:12:50: error: expected unqualified-id before ')' token
foo.cpp:14:44: error: 'i' does not name a type
foo.cpp:14:53: error: expected unqualified-id before '--' token
foo.cpp:29:8: error: 'll' does not name a type
foo.cpp:31:1: error: 'll' does not name a type
foo.cpp: In function 'void dfs(int, int)':
foo.cpp:35:77: error: 'i' was not declared in this scope
foo.cpp:35:87: error: 'REP' was not declared in this scope
foo.cpp:35:89: error: expected ';' before 'dp'
foo.cpp:35:145: error: 'i' was not declared in this scope
foo.cpp:35:155: error: 'REP' was not declared in this scope
foo.cpp:35:157: error: expected ';' before 'dp'
foo.cpp:35:226: error: 'i' was not declared in this scope
foo.cpp:35:236: error: 'REP' was not declared in this scope
foo.cpp:35:238: error: expected ';' before 'dfs'
foo.cpp:35:293: error: expected ';' before 'dp'
foo.cpp:35:336: error: expected ';' before '{' token
foo.cpp:38:568: error: expected '}' at end of input