Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Help in Gym #100676 Problem G

Правка en3, от potato_lord, 2015-10-31 12:04:14

The problem statement is included in a PDF, here's the url http://codeforces.com/gym/100676/attachments/download/3333/acm-arabella-collegiate-programming-contest-en.pdf

This is my submission : http://ideone.com/ydWkFG ( Submission ID : # http://codeforces.com/gym/100676/submission/13904264)

Getting MLE on submission, makes me think of my approach as an incorrect one. Please help to fix/correct the above mentioned approach, or provide hints towards the right approach , if mine is wrong.

Ty in advance. :) Warm Regards

Теги bitmasks, dp, gym, help me

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский potato_lord 2015-10-31 12:04:14 0 (published)
en2 Английский potato_lord 2015-10-31 12:03:27 10 -fixed ideone link (saved to drafts)
en1 Английский potato_lord 2015-10-31 09:15:07 733 Initial revision (published)