Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Getting WA on Chef and Bipartite Graphs ICPC16F (Codechef)

Revision en2, by mohitbindal, 2016-10-25 20:51:34

I checked my solution of Chef and Bipartite Graphs against many randomly generated test cases using below attached files and the solution seems correct, but codechef judge is giving WA for the particular solution even after rejudge. Can anybody please help me to figure out the problem with my code, or the checker.

Question Link : https://www.codechef.com/ACMIND16/problems/ICPC16F

Solution Link : http://ideone.com/nV20zD

Random Input Generator Link : http://ideone.com/lZZlbt

Checker Link : http://ideone.com/wm8EzY

Update : I found my mistake.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mohitbindal 2016-10-25 20:51:34 30 Tiny change: 'm/wm8EzY\n' -
en1 English mohitbindal 2016-10-25 15:57:13 590 Initial revision (published)