运行 ID: 107709

Main.cc: In function ‘int search(int)’:
Main.cc:19:8: warning: statement has no effect [-Wunused-value]
    f[i]==true;
    ~~~~^~~~~~
Main.cc:21:4: error: ‘dfs’ was not declared in this scope
    dfs(m+1);
    ^~~
Main.cc:22:8: warning: statement has no effect [-Wunused-value]
    f[i]==false;
    ~~~~^~~~~~~
Main.cc:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: In function ‘int main()’:
Main.cc:28:2: error: ‘dfs’ was not declared in this scope
  dfs(1);
  ^~~