摘要:
【题目描述】 长 L 米,宽 W 米的草坪里装有 n 个浇灌喷头。每个喷头都装在草坪中心线上(离两边各 W/2 米)。我们知道每个喷头的位置(离草坪中心线左端的距离),以及它能覆盖到的浇灌范围。如果要同时浇灌整块草坪,最少需要打开多少个喷头? 【题目链接】 https://loj.ac/proble 阅读全文
摘要:
【题目描述】 Elections are coming. You know the number of voters and the number of parties — n and m respectively. For each voter you know the party he is g 阅读全文