Help with "C. Find B"

Правка en1, от sandeepgogarla61, 2024-02-23 22:22:09

Hi guys!

Problem Link : 1923C - Найти B Submission : 248005674

My approach :

I have tried to calculate the minimum possible sum of subarray for every query range and compared it with actual sum of the subarray using prefix sum , My code passes sample test case but I'm unable to figure out why it is showing wrong answer for hidden testcases . Can anyone help me with this ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sandeepgogarla61 2024-02-23 22:22:09 439 Initial revision (published)