Help in 309C
Problem Link . My Solution . WA in test case 11 .
I sorted array a increasingly ans b decreasingly . Then for every element in array b , I searched the lower bound in array a .My code is pretty simple to understand.