摘要: New labyrinth attraction is open in New Lostland amusement park. The labyrinth consists of n rooms connected by m passages. Each passage is colored in 阅读全文
posted @ 2018-08-02 21:15 StarHai 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Ignatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)…… 这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx,sy)的位置,离开地牢的门在(ex,ey)的位置。Ignatius每 阅读全文
posted @ 2018-08-02 21:01 StarHai 阅读(172) 评论(0) 推荐(0) 编辑
摘要: The Czech Technical University is rather old — you already know that it celebrates 300 years of its existence in 2007. Some of the university building 阅读全文
posted @ 2018-08-02 20:58 StarHai 阅读(276) 评论(0) 推荐(0) 编辑
摘要: A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another 阅读全文
posted @ 2018-08-02 20:49 StarHai 阅读(344) 评论(0) 推荐(0) 编辑
摘要: This is yet another problem dealing with regular bracket sequences. We should remind you that a bracket sequence is called regular, if by inserting «+ 阅读全文
posted @ 2018-08-02 20:42 StarHai 阅读(284) 评论(0) 推荐(0) 编辑
摘要: There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees 阅读全文
posted @ 2018-08-02 20:38 StarHai 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the routing designers have screwed up completely, ma 阅读全文
posted @ 2018-08-02 20:29 StarHai 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Farmer John's family pitches in with the chores during milking, doing all the chores as quickly as possible. At FJ's house, some chores cannot be star 阅读全文
posted @ 2018-08-02 20:26 StarHai 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 一:N条直线分割平面 假设,x条线能将平面分为f(x)份,这对于份f(n) 第n条线,和其他n-1条线都有交点时,增加量最大,为n; 则: f(n)=f(n-1)+n; 有f(0)=1;得到:n 条直线分割平面的数量最大为:f(n)=n*(n+1)/2 + 1; 二. “V” 形线分割平面 对于“V 阅读全文
posted @ 2018-08-02 20:19 StarHai 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: Disky and Sooma, two of the biggest mega minds of Bangladesh went to a far country. They ate, coded and wandered around, even in their holidays. They 阅读全文
posted @ 2018-08-02 19:04 StarHai 阅读(177) 评论(0) 推荐(0) 编辑