HOW TO SOLVE THIS RECENT ATCODER CONTEST 401 QUESTION

Revision en1, by mainnahihoo, 2025-04-19 16:09:09

Hello respected coders , please tell me approach to solve this at coder question LOGICAL FILLING firstly i was thinking that this question was dp but atleast we need two states for dp and that will be a TLE , how to approach this please help , and 4th question of atcoder is a barrier for me how to cross that .

HELP

Tags atcoder

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mainnahihoo 2025-04-19 16:09:09 439 Initial revision (published)