Tinkoff Problem B: Igor and his way to work.

Revision en1, by rgame27, 2017-06-20 21:24:30

This is my attempt at the question:

http://mirror.codeforces.com/contest/793/submission/27930364

As I couldn't see the test case for which it is failing I was scrolling through other solutions and found 1 that is very similar, but that has passed. Any help with telling me why mine fails?

Similar solution that passes: http://mirror.codeforces.com/contest/793/submission/27902199

Tags dfs and similar, bruteforce, wrong answer

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rgame27 2017-06-20 21:24:30 419 Initial revision (published)