_kite's blog

By _kite, history, 4 years ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
12 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Hey can anyone tell me why my $$$N * log(N)$$$ solution TLE. 236895058