摘要: Problem Description Little John is herding his father's cattles. As a lazy boy, he cannot tolerate chasing the cattles all the time to avoid unnecessa 阅读全文
posted @ 2021-02-05 21:39 mikku 阅读(133) 评论(0) 推荐(0)
摘要: Problem Description NPY is learning arithmetic progression in his math class. In mathematics, an arithmetic progression (AP) is a sequence of numbers 阅读全文
posted @ 2021-02-05 21:00 mikku 阅读(97) 评论(0) 推荐(0)
摘要: UVA的judge好慢……20min还是in judege queue。 这题的首先将字符串分割为以0隔开的子串(千万不要把0放进去啊)。 对于每一个子串,将其分为3个部分。 第一个负数及之前的数的乘积(ltemp),第一个和最后一个负数中间的数的乘积(ctemp),最后一个负数及之后数的乘积(rt 阅读全文
posted @ 2021-02-05 19:18 mikku 阅读(50) 评论(0) 推荐(0)
摘要: Problem Description Bob programmed a robot to navigate through a 2d maze. The maze has some obstacles. Empty cells are denoted by the character '.', w 阅读全文
posted @ 2021-02-05 17:15 mikku 阅读(69) 评论(0) 推荐(0)