Help in C. Yet Another Tournament

Revision en1, by krishrb2517_, 2024-03-10 16:49:01

https://codeforces.me/contest/1783/problem/C

This is the link of the problem

https://codeforces.me/blog/entry/111194

This is the tutorial

In the editorial for problem C , why is it written we should check

m+b[ans-1]>=a[ans]

why is it depending on a , as it is not in any ordered pair , rather isn't it much logical that we will check with b[ans] that is it possible that instead of this we can switch it up with next element possible.

If anyone can help in pointing out where I am going wrong.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English krishrb2517_ 2024-03-10 16:49:01 552 Initial revision (published)