Help required in setting up an interactive problem on HackerRank

Правка en5, от swetanjal, 2019-03-17 11:24:26

I am trying to set up a judge on HackerRank for an interactive problem(like the one here). Can anyone suggest how to go about handling the interaction with the judge? I have found a sample checker, which given the user's output, checks whether the participant has outputted 4 or more prime numbers. If so, the solution is accepted else rejected.

But, I cannot understand how to handle the interaction with the judge? What I want to do is write something to the test case input file and the user reads that and then performs computation with that value. Does writing to the test case input path work?

What I know is setting up interactive problems on CodeChef is somewhat similar to setting up a checker and that is why reference to "custom checker".

Thank You

Теги #hackerrank, interactive problem, problem setting

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский swetanjal 2019-03-17 11:24:26 8
en4 Английский swetanjal 2019-03-17 11:09:01 154
en3 Английский swetanjal 2019-03-17 10:43:02 61
en2 Английский swetanjal 2019-03-17 10:38:30 87
en1 Английский swetanjal 2019-03-17 10:35:46 667 Initial revision (published)