Helping Deroro Quickly |2| ~~~~~~~~~~~~~~~~~~~~~~~~~~ Consider the previous question, when the total width of the building :math:`W` gets larger, writing a solution that works in a short time becomes much harder. Can you write a solution that can quickly determine whether a shape can be constructed or not? .. container:: sampleio Sample I/O: .. |2| image:: ../../figures/difficulty_five.png :class: difficulty .. code:: default Input: 19 5 3 Output: YES Input: 97 12 17 Output: YES Input: 97 12 18 Output: NO Input: 1000000 3 6 Output: NO .. raw:: html .. raw:: html