abdallahmontaser's blog

By abdallahmontaser, history, 3 years ago, In English

https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/problem/C

in this problem if i used path compression get wrong answer and accept without path compression can any one explain why

this code that get wrong answer https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/submission/132622662

this code that get accept https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/submission/132624996

If you could give an test , that would be great

Full text and comments »

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

By abdallahmontaser, history, 4 years ago, In English

I want to help convert this image to Ascii art in this problem https://codeforces.me/contest/1331/problem/E

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it