Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Help with topcoder question DIV 2 1000

Правка en1, от Ishan.nitj, 2016-06-21 15:34:50

This topcoder question appeared in SRM 689 https://community.topcoder.com/stat?c=problem_statement&pm=14247

This is my code http://ideone.com/443DkL but i am getting TLE for large inputs like : abcdefghijklmno xxxxxxxxxxxxxxx

I have written the code very clearly and it is easy to understand.

Теги dp, bitmasking, topcoder

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ishan.nitj 2016-06-21 15:34:50 341 Initial revision (published)