Please help me in this Lamp problem

Revision en1, by nikhilesh-03, 2025-02-08 18:01:11

Can anybody help me why this code is giving runtime error on 5th test case for this Question: https://codeforces.net/problemset/problem/1839/B Submission: https://codeforces.net/contest/1839/submission/305001682

Tags greedy, math, sorting

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English nikhilesh-03 2025-02-08 18:01:11 248 Initial revision (published)