When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

tensaida's blog

By tensaida, history, 4 years ago, In English

i've been solving this problem for a day now https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=380 can someone pls check my code?? i did a bfs and it worked, but a dfs is not working forsomereason my code: https://pastebin.com/HbnZdZMH

  • Vote: I like it
  • -3
  • Vote: I do not like it