Q1: Input was (int n, int seed ,int l,int r) n=5 s=443434 l=0 r=10 ans=4 n=1 s=1 l=1 r=1 ans=0
Q2:
Q3: