摘要: 链接: https://vjudge.net/problem/LightOJ 1333 题意: You have to color an M x N two dimensional grid. You will be provided K different colors for this. You 阅读全文
posted @ 2019-12-10 22:08 YDDDD 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1326 题意: Disky and Sooma, two of the biggest mega minds of Bangladesh went to a far country. They ate, coded an 阅读全文
posted @ 2019-12-10 22:06 YDDDD 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1322 题意: In Computer Science Trie or prefix tree is a data structure which is usually used to store some string 阅读全文
posted @ 2019-12-10 21:58 YDDDD 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1318 题意: In a country named "Ajob Desh", people play a game called "Ajob Game" (or strange game). This game is 阅读全文
posted @ 2019-12-10 21:49 YDDDD 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1299 题意: 考虑成,U位置的点要往后放,D位置往前放 Dp[i][j]表示处于i位置,还有j个U没有放下。 s[i] == 'D' : Dp[i][j] = Dp[i 1][j] j+Dp[i 1][j+1] (j+ 阅读全文
posted @ 2019-12-10 21:37 YDDDD 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1246 题意: You are given a rectangular board. You are asked to draw M horizontal lines and N vertical lines in th 阅读全文
posted @ 2019-12-10 21:30 YDDDD 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1226 题意: OUM is a one unit machine which processes jobs. Since it can't handle heavyweight jobs; jobs needs to 阅读全文
posted @ 2019-12-10 21:23 YDDDD 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1173 题意: The coach of a football team, after suffering for years the adverse comments of the media about his ta 阅读全文
posted @ 2019-12-10 21:20 YDDDD 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/LightOJ 1170 题意: BST is the acronym for Binary Search Tree. A BST is a tree data structure with the following propertie 阅读全文
posted @ 2019-12-10 21:03 YDDDD 阅读(248) 评论(0) 推荐(0) 编辑