interactive problem MAXEP

december
interactive
long_challenge
problem

#1

What to do when -1 is returned by grader in MAXEP december challenge?

https://www.codechef.com/DEC18B/problems/MAXEP


#2

same question?


#3

simply terminate your program


#4

Should we close the program after printing the “3” and “x” output?


#5

In my solution my answer is getting 2 WA in sub task 1 and AC in other 5 , any idea what may be those subtasks ?


#6

When I run out of coins and just print last tried value of y as “3 x” I get correct answers for many test cases that say wrong answer in case I don’t print “3 x” when i run out of coins before getting to answer.


#7

I am getting Subtask1 and Subtask2 correct but getting 4 WA in Subtask3(37,38,43,48).
What should I do?


#8

if done properly you will never get -1 as response so don’t worry about that.