Loading

摘要: Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whe 阅读全文
posted @ 2020-02-16 23:53 脂环 阅读(203) 评论(0) 推荐(0) 编辑
摘要: You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. 阅读全文
posted @ 2020-02-16 17:00 脂环 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将 阅读全文
posted @ 2020-02-16 15:43 脂环 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Gildong owns a bulgogi restaurant. The restaurant has a lot of customers, so many of them like to make a reservation before visiting it. Gildong tries 阅读全文
posted @ 2020-02-16 10:57 脂环 阅读(252) 评论(0) 推荐(0) 编辑
摘要: Returning back to problem solving, Gildong is now studying about palindromes. He learned that a palindrome is a string that is the same as its reverse 阅读全文
posted @ 2020-02-16 10:43 脂环 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Being tired of participating in too many Codeforces rounds, Gildong decided to take some rest in a park. He sat down on a bench, and soon he found two 阅读全文
posted @ 2020-02-16 10:34 脂环 阅读(289) 评论(0) 推荐(0) 编辑