indcyc.cpp: In function 'void dfs1(int, int, int)':
indcyc.cpp:12:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edge[w].size(); i++) {
~~^~~~~~~~~~~~~~~~
indcyc.cpp: At global scope:
indcyc.cpp:23:49: error: expected unqualified-id before 'not' token
int stdep, D[1212], st, go[1212], R[1212], cck, not[1212];
^~~
indcyc.cpp: In function 'int dfs2(int, int)':
indcyc.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 1;
~~^~~~~~~~~~~~~~~~
indcyc.cpp:32:72: warning: capture of variable 'edge' with non-automatic storage duration
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 1;
^~~~
indcyc.cpp:6:12: note: 'std::vector<int> edge [1212]' declared here
vector<int>edge[1212], E[1212];
^~~~
indcyc.cpp:32:76: error: expected ',' before '[' token
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 1;
^
indcyc.cpp:32:76: error: expected identifier before '[' token
indcyc.cpp: In lambda function:
indcyc.cpp:32:84: error: expected '{' before '=' token
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 1;
^
indcyc.cpp: In function 'int dfs2(int, int)':
indcyc.cpp:32:84: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:32:84: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:32:86: error: lvalue required as left operand of assignment
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 1;
^
indcyc.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edge[w].size(); i++) {
~~^~~~~~~~~~~~~~~~
indcyc.cpp:34:61: warning: capture of variable 'R' with non-automatic storage duration
if (D[edge[w][i]] >= 3 && R[x] != R[edge[w][i]] && !not[R[edge[w][i]]]) {
^
indcyc.cpp:23:35: note: 'int R [1212]' declared here
int stdep, D[1212], st, go[1212], R[1212], cck, not[1212];
^
indcyc.cpp:34:62: error: expected ',' before '[' token
if (D[edge[w][i]] >= 3 && R[x] != R[edge[w][i]] && !not[R[edge[w][i]]]) {
^
indcyc.cpp:34:62: error: expected identifier before '[' token
indcyc.cpp: In lambda function:
indcyc.cpp:34:75: error: expected '{' before ')' token
if (D[edge[w][i]] >= 3 && R[x] != R[edge[w][i]] && !not[R[edge[w][i]]]) {
^
indcyc.cpp: In function 'int dfs2(int, int)':
indcyc.cpp:34:75: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:34:75: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:39:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 0;
~~^~~~~~~~~~~~~~~~
indcyc.cpp:39:72: warning: capture of variable 'edge' with non-automatic storage duration
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 0;
^~~~
indcyc.cpp:6:12: note: 'std::vector<int> edge [1212]' declared here
vector<int>edge[1212], E[1212];
^~~~
indcyc.cpp:39:76: error: expected ',' before '[' token
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 0;
^
indcyc.cpp:39:76: error: expected identifier before '[' token
indcyc.cpp: In lambda function:
indcyc.cpp:39:84: error: expected '{' before '=' token
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 0;
^
indcyc.cpp: In function 'int dfs2(int, int)':
indcyc.cpp:39:84: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:39:84: warning: the address of 'static constexpr void dfs2(int, int)::<lambda()>::_FUN()' will never be NULL [-Waddress]
indcyc.cpp:39:86: error: lvalue required as left operand of assignment
for (int i = 0; i < edge[w].size(); i++) if (D[edge[w][i]] == 2)not[edge[w][i]] = 0;
^
indcyc.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < E[w].size(); i++){
~~^~~~~~~~~~~~~
indcyc.cpp: In function 'int main()':
indcyc.cpp:51:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, m; scanf("%d%d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~
indcyc.cpp:54:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int s, e; scanf("%d%d", &s, &e);
~~~~~^~~~~~~~~~~~~~~~