3 / 3
Aug 2019

I’m stuck with this problem, Atul and Astha Chronicles 2.
link: https://www.spoj.com/problems/AAC2/10

I’ve been thinking over it for a long time, I don’t get what approach should I use.
What i think should work: Build graphs from the given equations, and merge the formed graphs, and cross check with inequality graphs then.
But it’s not working. Please suggest me in words how should i approach the problem what algorithm should I use?

  • created

    Aug '19
  • last reply

    Aug '19
  • 2

    replies

  • 738

    views

  • 2

    users

  • 1

    link

Yeah, it took me like 5-6 hours to figure that out, thanks anyways :slight_smile: