Hey everyone,
As we all know there are many problems on various websites which is having multiple possible solution. For a problem with single solution it is quite easy to make input and output files but I was having a question which consists of several possible solutions but I could not frame that problem completely as I tried to make a checker file that checks for all possible solutions which are satisfying the given conditions but couldn't do so. So can someone help me with it.
Any kind of help is aprreciated :)
Thank you
I have not much idea about it. I am just guessing. You can check whether the output of the code is satisfying the given conditions or not. It's not necessary that you have to generate all the possible solutions!! Hope this helps!!
Use testlib.h: https://codeforces.me/blog/entry/18431