Very well communicated. The problem is I think your step 4.
Iteration-1: oo
==
S1 : (L=0,R=3,min(LR)=0,max(LR)=3)
S2 : (L=1,R=2,min(LR)=1,max(LR)=2)
S3 : (L=2,R=1,min(LR)=1,max(LR)=2)
S4 : (L=3,R=0,min(LR)=0,max(LR)=3)
According to the deterministic selection rules:
1.
I have some problems with the question C of the qualification round of the
contest.
I did not find the deterministic selection rules to be consistent with the
example
given especially case 1. I felt that I either did not understand the question
very
well or there was something wrong. I wrote