dfs
文章平均质量分 80
ShawnVan_Bean
软件工程大二学生一枚
展开
-
Smallest Difference(剪枝)
Given a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in some order. The remaining digits can be written down in some orde原创 2017-08-06 12:58:47 · 347 阅读 · 0 评论 -
Hopscotch
The cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set of numbered boxes into which to hop, the cows create a 5x5 rectilinear grid of digits parallel to the x an原创 2017-08-06 14:45:07 · 458 阅读 · 1 评论 -
Curling 2.0
On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice game board on which a square mesh is mark原创 2017-08-05 16:05:11 · 192 阅读 · 0 评论 -
Red and Black
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he can'原创 2017-08-05 14:50:36 · 186 阅读 · 0 评论