mv_29's blog

By mv_29, history, 6 years ago, In English

Hi, in problem E. "Reachability from the Capital" ("https://codeforces.me/contest/999/problem/E") me and author are having the same solution but the autor solution got accepted and mine got time limit exceeded and i am not able to find the solution for it , can someone help me with this solution

authors solution -- "https://codeforces.me/contest/999/submission/48886017" mine solution -- "https://codeforces.me/contest/999/submission/48883663"

Full text and comments »

Tags dfs
  • Vote: I like it
  • 0
  • Vote: I do not like it

By mv_29, history, 7 years ago, In English

hi . i am not able to pass all the test cases of a question on hackerearth on fenwick trees .i have even checked my solution with the author's solution and not able to find what is the mistake . please need help . the question link https://www.hackerearth.com/practice/data-structures/advanced-data-structures/fenwick-binary-indexed-trees/practice-problems/algorithm/vanya-and-array-4/ my solution - http://ideone.com/vXHQV1

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it