Custom checker for Hackerrank

Правка en1, от prachin_roy, 2019-04-29 20:47:57

I'm trying to make a custom checker for this problem but in a different way. Actually in this problem setter wants to know minimum number snow heap . But I want to know the position also. In this situation the answer can be different. Such as, For the first input 2 2 1 1 2 the answer ca be this 1 1 1 or can be this 1 2 2

Again for another testcase input: 3 2 2 4 4 8 7 output1: 2 2 4 2 7 output2: 2 2 4 8 2 output3: 2 4 2 4 7 and so on

Then how can i make the custom checker. I prefer C++ to do this task. Thanks in advance.

Теги #dsu, #dfs and similar

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский prachin_roy 2019-04-29 20:51:41 20
en1 Английский prachin_roy 2019-04-29 20:47:57 670 Initial revision (published)