You are viewing a single comment's thread. Return to all comments →
c#
var appleCount = apples.Count(x => a + x >= s && a + x <= t); var orangeCount = oranges.Count(x => b + x >= s && b + x <= t); Console.WriteLine(appleCount); Console.WriteLine(orangeCount);
Seems like cookies are disabled on this browser, please enable them to open this website
Apple and Orange
You are viewing a single comment's thread. Return to all comments →
c#