• + 2 comments
        int ax = apples.Where(x=>s<=(x+a)&&(x+a)<=t).Count();
        int ox = oranges.Where(x=>s<=(x+b)&&(x+b)<=t).Count();
    
                c# style ;)