Hello! I was solving last year's JBOI but I couldn't solve the second problem — palm trees. Can one tell me how to solve it? Thanks
JBOI 2015 — Palm Trees
Hello! I was solving last year's JBOI but I couldn't solve the second problem — palm trees. Can one tell me how to solve it? Thanks