Help Required in checking the correctness of code

Правка en1, от Ferrarixxx, 2020-06-21 16:03:13

Hi guys ,
I think the editorial's solution (https://codeforces.net/blog/entry/78864)
for this (https://codeforces.net/contest/1367/problem/D) problem is wrong

Proof:
Try this test case :
1
cbazzkjbsdf
3
2 1 0

For the above testcase actual output should have been " cba "
but according to almost all codes(including editorialist's) its " bbz "

So am i correct ?? or have i made a mistake in understanding the problem??

I resort to your generous replies.

Thanks in Advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Ferrarixxx 2020-06-21 16:34:36 22
en1 Английский Ferrarixxx 2020-06-21 16:03:13 584 Initial revision (published)