Блог пользователя mv_29

Автор mv_29, история, 6 лет назад, По-английски

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"

Полный текст и комментарии »

Теги dfs
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор mv_29, история, 7 лет назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится