
BFS
zhengde152
这个作者很懒,什么都没留下…
展开
-
超级密码
超级密码 Ignatius花了一个星期的时间终于找到了传说中的宝藏,宝藏被放在一个房间里,房间的门用密码锁起来了,在门旁边的墙上有一些关于密码的提示信息: 密码是一个C进制的数,并且只能由给定的M个数字构成,同时密码是一个给定十进制整数N(0<=N<=5000)的正整数倍(如果存在多个满足条件的数,那么最小的那个就是密码),如果这样的密码存在,那么当你输入它以后门将打开,如果...原创 2018-08-26 21:47:35 · 453 阅读 · 0 评论 -
Xor-Paths
There is a rectangular grid of size n×mn×m. Each cell has a number written on it; the number on the cell (i,ji,j) is ai,jai,j. Your task is to calculate the number of paths from the upper-left cell (1...原创 2018-12-09 10:03:54 · 314 阅读 · 0 评论 -
Black And White
In mathematics, the four color theorem, or the four color map theorem, states that, given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors a...原创 2019-04-11 09:15:45 · 1485 阅读 · 0 评论